Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [package]
  2. name = "hbb_common"
  3. version = "0.1.0"
  4. authors = ["open-trade <info@opentradesolutions.com>"]
  5. edition = "2018"
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [dependencies]
  8. protobuf = { version = "3.1", features = ["with-bytes"] }
  9. tokio = { version = "1.20", features = ["full"] }
  10. tokio-util = { version = "0.7", features = ["full"] }
  11. futures = "0.3"
  12. bytes = { version = "1.2", features = ["serde"] }
  13. log = "0.4"
  14. env_logger = "0.9"
  15. socket2 = { version = "0.3", features = ["reuseport"] }
  16. zstd = "0.9"
  17. quinn = {version = "0.8", optional = true }
  18. anyhow = "1.0"
  19. futures-util = "0.3"
  20. directories-next = "2.0"
  21. rand = "0.8"
  22. serde_derive = "1.0"
  23. serde = "1.0"
  24. lazy_static = "1.4"
  25. confy = { git = "https://github.com/open-trade/confy" }
  26. dirs-next = "2.0"
  27. filetime = "0.2"
  28. sodiumoxide = "0.2"
  29. regex = "1.4"
  30. tokio-socks = { git = "https://github.com/open-trade/tokio-socks" }
  31. chrono = "0.4"
  32. [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
  33. mac_address = "1.1"
  34. machine-uid = "0.2"
  35. [features]
  36. quic = []
  37. flatpak = []
  38. [build-dependencies]
  39. protobuf-codegen = { version = "3.1" }
  40. [target.'cfg(target_os = "windows")'.dependencies]
  41. winapi = { version = "0.3", features = ["winuser"] }
  42. [dev-dependencies]
  43. toml = "0.5"
  44. serde_json = "1.0"