Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. flexi_logger = { version = "0.27", features = ["async"] }
  9. protobuf = { version = "3.4", features = ["with-bytes"] }
  10. tokio = { version = "1.38", features = ["full"] }
  11. tokio-util = { version = "0.7", features = ["full"] }
  12. futures = "0.3"
  13. bytes = { version = "1.6", features = ["serde"] }
  14. log = "0.4"
  15. env_logger = "0.10"
  16. socket2 = { version = "0.3", features = ["reuseport"] }
  17. zstd = "0.13"
  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. serde_json = "1.0"
  25. lazy_static = "1.4"
  26. confy = { git = "https://github.com/rustdesk-org/confy" }
  27. dirs-next = "2.0"
  28. filetime = "0.2"
  29. sodiumoxide = "0.2"
  30. regex = "1.8"
  31. tokio-socks = { git = "https://github.com/rustdesk-org/tokio-socks" }
  32. chrono = "0.4"
  33. backtrace = "0.3"
  34. libc = "0.2"
  35. dlopen = "0.1"
  36. toml = "0.7"
  37. uuid = { version = "1.3", features = ["v4"] }
  38. # new sysinfo issue: https://github.com/rustdesk/rustdesk/pull/6330#issuecomment-2270871442
  39. sysinfo = { git = "https://github.com/rustdesk-org/sysinfo", branch = "rlim_max" }
  40. thiserror = "1.0"
  41. httparse = "1.5"
  42. base64 = "0.22"
  43. url = "2.2"
  44. [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
  45. mac_address = "1.1"
  46. machine-uid = { git = "https://github.com/rustdesk-org/machine-uid" }
  47. [target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies]
  48. tokio-rustls = { version = "0.26", features = ["logging", "tls12", "ring"], default-features = false }
  49. rustls-platform-verifier = "0.3.1"
  50. rustls-pki-types = "1.4"
  51. [target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
  52. tokio-native-tls ="0.3"
  53. [build-dependencies]
  54. protobuf-codegen = { version = "3.4" }
  55. [target.'cfg(target_os = "windows")'.dependencies]
  56. winapi = { version = "0.3", features = ["winuser", "synchapi", "pdh", "memoryapi", "sysinfoapi"] }
  57. [target.'cfg(target_os = "macos")'.dependencies]
  58. osascript = "0.3"