tun2proxy/Cargo.toml

82 lines
1.9 KiB
TOML
Raw Normal View History

2021-09-02 11:30:23 +02:00
[package]
2022-08-01 14:36:58 +00:00
name = "tun2proxy"
2025-02-12 18:09:37 +08:00
version = "0.7.4"
2024-02-01 19:15:32 +08:00
edition = "2021"
2024-02-10 14:45:44 +08:00
license = "MIT"
2024-09-29 18:17:45 +08:00
repository = "https://github.com/tun2proxy/tun2proxy"
homepage = "https://github.com/tun2proxy/tun2proxy"
2024-02-10 14:45:44 +08:00
authors = ["B. Blechschmidt", "ssrlive"]
description = "Tunnel interface to proxy"
readme = "README.md"
2024-07-27 00:08:07 +08:00
rust-version = "1.80"
2021-09-02 11:30:23 +02:00
2023-04-10 21:37:20 +02:00
[lib]
2024-02-01 19:15:32 +08:00
crate-type = ["staticlib", "cdylib", "lib"]
2023-04-10 21:37:20 +02:00
2024-12-26 20:38:13 +08:00
[[bin]]
name = "tun2proxy-bin"
path = "src/bin/main.rs"
[[bin]]
name = "udpgw-server"
path = "src/bin/udpgw_server.rs"
required-features = ["udpgw"]
2024-10-26 02:15:52 +08:00
[features]
default = ["udpgw"]
udpgw = []
2021-09-02 11:30:23 +02:00
[dependencies]
2024-02-01 19:15:32 +08:00
async-trait = "0.1"
2025-01-03 11:10:14 +08:00
base64easy = "0.1"
2024-02-01 19:15:32 +08:00
chrono = "0.4"
2024-06-14 14:59:08 +08:00
clap = { version = "4", features = ["derive", "wrap_help", "color"] }
ctrlc2 = { version = "3", features = ["tokio", "termination"] }
2023-08-23 14:06:02 +08:00
digest_auth = "0.3"
2023-03-23 13:28:05 +01:00
dotenvy = "0.15"
2024-02-01 19:15:32 +08:00
env_logger = "0.11"
2024-12-10 11:17:51 +08:00
hashlink = "0.10"
2024-07-20 13:00:21 +08:00
hickory-proto = "0.24"
2024-06-14 14:59:08 +08:00
httparse = "1"
2025-02-18 13:23:04 +08:00
ipstack = { version = "0.2" }
2024-02-01 19:15:32 +08:00
log = { version = "0.4", features = ["std"] }
2024-08-02 10:18:11 +08:00
mimalloc = { version = "0.1", default-features = false, optional = true }
percent-encoding = "2"
shlex = "1.3.0"
2024-12-10 11:17:51 +08:00
socks5-impl = { version = "0.6", default-features = false, features = [
"tokio",
] }
thiserror = "2"
2024-04-14 19:18:18 +08:00
tokio = { version = "1", features = ["full"] }
tokio-util = "0.7"
2024-07-08 18:35:18 +08:00
tproxy-config = { version = "6", default-features = false }
2024-10-28 14:03:35 +08:00
tun = { version = "0.7", features = ["async"] }
2024-06-28 13:46:25 +08:00
udp-stream = { version = "0.0.12", default-features = false }
2024-06-14 14:59:08 +08:00
unicase = "2"
url = "2"
2023-03-20 23:52:38 +01:00
2024-12-10 11:17:51 +08:00
[build-dependencies]
serde_json = "1"
[target.'cfg(target_os="linux")'.dependencies]
2024-04-08 13:45:42 +08:00
serde = { version = "1", features = ["derive"] }
bincode = "1"
2023-04-14 18:44:41 +08:00
[target.'cfg(target_os="android")'.dependencies]
android_logger = "0.14"
2023-04-14 18:44:41 +08:00
jni = { version = "0.21", default-features = false }
2024-09-14 22:02:05 +08:00
[target.'cfg(unix)'.dependencies]
daemonize = "0.5"
2024-10-26 02:15:52 +08:00
nix = { version = "0.29", default-features = false, features = [
"fs",
"socket",
"uio",
] }
2024-09-14 22:02:05 +08:00
2024-09-14 09:55:27 +08:00
[target.'cfg(target_os = "windows")'.dependencies]
2025-02-18 13:23:04 +08:00
windows-service = "0.8"
2024-09-14 09:55:27 +08:00
2024-05-26 10:03:15 +08:00
[profile.release]
strip = "symbols"