rustdesk-server/Cargo.toml

71 lines
1.8 KiB
TOML
Raw Normal View History

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