Browse Source

minor changes

pull/178/head
ssrlive 1 year ago
parent
commit
4d4a0ce85c
  1. 18
      Cargo.toml

18
Cargo.toml

@ -13,6 +13,15 @@ rust-version = "1.80"
[lib] [lib]
crate-type = ["staticlib", "cdylib", "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] [features]
default = ["udpgw"] default = ["udpgw"]
udpgw = [] udpgw = []
@ -67,14 +76,5 @@ nix = { version = "0.29", default-features = false, features = [
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
windows-service = "0.7" 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] [profile.release]
strip = "symbols" strip = "symbols"

Loading…
Cancel
Save