mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-11 17:42:02 +00:00
Some checks failed
Push or PR / build_n_test (macos-latest) (push) Has been cancelled
Push or PR / build_n_test (ubuntu-latest) (push) Has been cancelled
Push or PR / build_n_test (windows-latest) (push) Has been cancelled
Push or PR / build_n_test_android (push) Has been cancelled
Push or PR / build_n_test_ios (push) Has been cancelled
Push or PR / Check semver (push) Has been cancelled
Integration Tests / Proxy Tests (push) Has been cancelled
82 lines
1.9 KiB
TOML
82 lines
1.9 KiB
TOML
[package]
|
|
name = "tun2proxy"
|
|
version = "0.7.7"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
repository = "https://github.com/tun2proxy/tun2proxy"
|
|
homepage = "https://github.com/tun2proxy/tun2proxy"
|
|
authors = ["B. Blechschmidt", "ssrlive"]
|
|
description = "Tunnel interface to proxy"
|
|
readme = "README.md"
|
|
rust-version = "1.85"
|
|
|
|
[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 = []
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
base64easy = "0.1"
|
|
chrono = "0.4"
|
|
clap = { version = "4", features = ["derive", "wrap_help", "color"] }
|
|
ctrlc2 = { version = "3", features = ["tokio", "termination"] }
|
|
digest_auth = "0.3"
|
|
dotenvy = "0.15"
|
|
env_logger = "0.11"
|
|
hashlink = "0.10"
|
|
hickory-proto = "0.25"
|
|
httparse = "1"
|
|
ipstack = { version = "0.2" }
|
|
log = { version = "0.4", features = ["std"] }
|
|
mimalloc = { version = "0.1", default-features = false, optional = true }
|
|
percent-encoding = "2"
|
|
shlex = "1.3.0"
|
|
socks5-impl = { version = "0.6", default-features = false, features = [
|
|
"tokio",
|
|
] }
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-util = "0.7"
|
|
tproxy-config = { version = "6", default-features = false }
|
|
tun = { version = "0.7", features = ["async"] }
|
|
udp-stream = { version = "0.0.12", default-features = false }
|
|
unicase = "2"
|
|
url = "2"
|
|
|
|
[build-dependencies]
|
|
chrono = "0.4"
|
|
serde_json = "1"
|
|
|
|
[target.'cfg(target_os="linux")'.dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
bincode = "2"
|
|
|
|
[target.'cfg(target_os="android")'.dependencies]
|
|
android_logger = "0.15"
|
|
jni = { version = "0.21", default-features = false }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
daemonize = "0.5"
|
|
nix = { version = "0.29", default-features = false, features = [
|
|
"fs",
|
|
"socket",
|
|
"uio",
|
|
] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows-service = "0.8"
|
|
|
|
# [profile.release]
|
|
# strip = "symbols"
|