Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [package]
  2. name = "hbb_common"
  3. version = "0.1.0"
  4. authors = ["rustdesk<info@rustdesk.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 = "3.0.0-alpha.2"
  9. tokio = { version = "1.15", features = ["full"] }
  10. tokio-util = { version = "0.6", features = ["full"] }
  11. futures = "0.3"
  12. bytes = "1.1"
  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/fufesou/tokio-socks" }
  31. [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
  32. mac_address = "1.1"
  33. [features]
  34. quic = ["quinn"]
  35. [build-dependencies]
  36. protobuf-codegen-pure = "3.0.0-alpha.2"
  37. [target.'cfg(target_os = "windows")'.dependencies]
  38. winapi = { version = "0.3", features = ["winuser"] }
  39. [dev-dependencies]
  40. toml = "0.5"
  41. serde_json = "1.0"