mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-19 21:39:09 +00:00
minor changes
This commit is contained in:
parent
258637a52e
commit
4d4a0ce85c
1 changed files with 9 additions and 9 deletions
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…
Add table
Reference in a new issue