Cargo.toml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. [package]
  2. name = "hbbs"
  3. version = "1.1.12"
  4. authors = ["rustdesk <info@rustdesk.com>"]
  5. edition = "2021"
  6. build = "build.rs"
  7. default-run = "hbbs"
  8. [[bin]]
  9. name = "hbbr"
  10. path = "src/hbbr.rs"
  11. [[bin]]
  12. name = "rustdesk-utils"
  13. path = "src/utils.rs"
  14. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  15. [dependencies]
  16. hbb_common = { path = "libs/hbb_common" }
  17. serde_derive = "1.0"
  18. serde = "1.0"
  19. serde_json = "1.0"
  20. lazy_static = "1.4"
  21. clap = "2"
  22. rust-ini = "0.18"
  23. minreq = { version = "2.4", features = ["punycode"] }
  24. machine-uid = "0.2"
  25. mac_address = "1.1.5"
  26. whoami = "1.2"
  27. base64 = "0.13"
  28. axum = { version = "0.5", features = ["headers"] }
  29. sqlx = { version = "0.6", features = [ "runtime-tokio-rustls", "sqlite", "macros", "chrono", "json" ] }
  30. deadpool = "0.8"
  31. async-trait = "0.1"
  32. async-speed-limit = { git = "https://github.com/open-trade/async-speed-limit" }
  33. uuid = { version = "1.0", features = ["v4"] }
  34. bcrypt = "0.13"
  35. chrono = "0.4"
  36. jsonwebtoken = "8"
  37. headers = "0.3"
  38. once_cell = "1.8"
  39. sodiumoxide = "0.2"
  40. tokio-tungstenite = "0.17"
  41. tungstenite = "0.17"
  42. regex = "1.4"
  43. tower-http = { version = "0.3", features = ["fs", "trace", "cors"] }
  44. http = "0.2"
  45. flexi_logger = { version = "0.22", features = ["async", "use_chrono_for_offset", "dont_minimize_extra_stacks"] }
  46. ipnetwork = "0.20"
  47. local-ip-address = "0.5.1"
  48. dns-lookup = "1.0.8"
  49. ping = "0.4.0"
  50. [build-dependencies]
  51. hbb_common = { path = "libs/hbb_common" }
  52. [workspace]
  53. members = ["libs/hbb_common"]
  54. exclude = ["ui"]
  55. #https://github.com/johnthagen/min-sized-rust
  56. #https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles
  57. [profile.release]
  58. lto = true
  59. codegen-units = 1
  60. panic = 'abort'
  61. strip = true
  62. #opt-level = 'z' # only have smaller size after strip # Default is 3, better performance
  63. #rpath = true # Not needed