minor changes

This commit is contained in:
ssrlive 2024-12-26 20:38:13 +08:00
parent 258637a52e
commit 4d4a0ce85c

View file

@ -13,6 +13,15 @@ rust-version = "1.80"
[lib]
crate-type = ["staticlib", "cdylib", "lib"]
[[bin]]
name = "tun2proxy-bin"
path = "src/bin/main.rs"
[[bin]]
name = "udpgw-server"
path = "src/bin/udpgw_server.rs"
required-features = ["udpgw"]
[features]
default = ["udpgw"]
udpgw = []
@ -67,14 +76,5 @@ nix = { version = "0.29", default-features = false, features = [
[target.'cfg(target_os = "windows")'.dependencies]
windows-service = "0.7"
[[bin]]
name = "tun2proxy-bin"
path = "src/bin/main.rs"
[[bin]]
name = "udpgw-server"
path = "src/bin/udpgw_server.rs"
required-features = ["udpgw"]
[profile.release]
strip = "symbols"