Cargo.toml 1012 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [package]
  2. name = "lib-dispatch"
  3. version = "0.1.0"
  4. edition = "2018"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. pin-project = "1.0.0"
  8. futures-core = { version = "0.3", default-features = false }
  9. paste = "1"
  10. futures-channel = "0.3.15"
  11. futures = "0.3.15"
  12. futures-util = "0.3.15"
  13. bytes = {version = "1.0", features = ["serde"]}
  14. tokio = { version = "1", features = ["full"] }
  15. nanoid = "0.4.0"
  16. log = "0.4.14"
  17. env_logger = "0.8"
  18. serde_with = "1.9.4"
  19. thread-id = "3.3.0"
  20. lazy_static = "1.4.0"
  21. dyn-clone = "1.0"
  22. derivative = "2.2.0"
  23. serde_json = {version = "1.0"}
  24. serde = { version = "1.0", features = ["derive"] }
  25. dashmap = "5"
  26. #optional crate
  27. bincode = { version = "1.3", optional = true}
  28. protobuf = {version = "2.24.1", optional = true}
  29. tracing = { version = "0.1"}
  30. [dev-dependencies]
  31. tokio = { version = "1", features = ["full"] }
  32. futures-util = "0.3.15"
  33. [features]
  34. default = ["use_protobuf"]
  35. use_serde = ["bincode"]
  36. use_protobuf= ["protobuf"]