Cargo.toml 653 B

123456789101112131415161718192021222324
  1. [package]
  2. name = "lib-infra"
  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. uuid = { version = "0.8", features = ["serde", "v4"] }
  8. log = "0.4.14"
  9. chrono = "0.4.19"
  10. bytes = { version = "1.0" }
  11. pin-project = "1.0"
  12. futures-core = { version = "0.3", default-features = false }
  13. tokio = { version = "1.0", features = ["time", "rt"] }
  14. rand = "0.8.3"
  15. cmd_lib = { version = "1", optional = true }
  16. protoc-rust = { version = "2", optional = true }
  17. walkdir = { version = "2", optional = true }
  18. [features]
  19. pb_gen = ["cmd_lib", "protoc-rust", "walkdir"]
  20. dart = []