sdlan-lib-rs/Cargo.toml

57 lines
1.4 KiB
TOML
Executable File

[package]
name = "punchnet"
version = "1.0.0"
edition = "2021"
[dependencies]
crc = "3.2.1"
crc32fast = "1.4.2"
dashmap = "6.0.1"
dns-lookup = "2.0.4"
etherparse = "0.15.0"
futures-util = "0.3.30"
local-ip-address = "0.6.1"
num_enum = "0.7.2"
once_cell = "1.19.0"
prost = "0.12.6"
prost-build = "0.12.6"
rand = "0.8.5"
rsa = "0.9.6"
sdlan-sn-rs = { git = "ssh://git@git2.asxalex.pw/sdlan-v2/sdlan-rs.git" }
# sdlan-sn-rs = {path = "../sdlan-rs"}
# sdlan-sn-rs = { git = "https://git.asxalex.pw/sdlan-v2/sdlan-rs.git" }
structopt = "0.3.26"
tokio = { version = "1.38.0", features = ["full"] }
tokio-util = "0.7.11"
tracing = "0.1.40"
# rolling-file = { path = "../rolling-file" }
[target.'cfg(windows)'.dependencies]
wintun = "0.4.0"
[features]
tun = []
[build-dependencies]
cargo-deb = "3.6.2"
[package.metadata.deb]
maintainer = "alex <asxalex@163.com>"
copyright = "2025, alex"
# license-file = ["MIT"]
depends = "$auto"
## assets
assets = [
## libs and exxcutables
["target/release/punchnet", "usr/local/", "755"],
["assets/yolov5", "usr/bin/dump-rtsp-jpg", "755"],
["assets/libswscale.so.5.7.100", "usr/lib/libswscale.so.5.7.100", "755"],
# ["usr/lib/libswscale.so.5", "usr/lib/libswscale.so.5.7.100", "symlink"]
# ["usr/lib/libswscale.so", "usr/lib/libswscale.so.5.7.100", "symlink"]
]
maintainer-scripts = "debian"
systemd-units = [
{ unit-name = "sys-op-api", enable = true }
]