# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80" name = "tun2proxy" version = "0.6.6" authors = [ "B. Blechschmidt", "ssrlive", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Tunnel interface to proxy" homepage = "https://github.com/tun2proxy/tun2proxy" readme = "README.md" license = "MIT" repository = "https://github.com/tun2proxy/tun2proxy" [profile.release] strip = "symbols" [lib] name = "tun2proxy" crate-type = [ "staticlib", "cdylib", "lib", ] path = "src/lib.rs" [[bin]] name = "tun2proxy-bin" path = "src/bin/main.rs" [[bin]] name = "udpgw-server" path = "src/bin/udpgw_server.rs" required-features = ["udpgw"] [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.22" [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4" features = [ "derive", "wrap_help", "color", ] [dependencies.ctrlc2] version = "3" features = [ "tokio", "termination", ] [dependencies.digest_auth] version = "0.3" [dependencies.dotenvy] version = "0.15" [dependencies.env_logger] version = "0.11" [dependencies.hashlink] version = "0.9" [dependencies.hickory-proto] version = "0.24" [dependencies.httparse] version = "1" [dependencies.ipstack] version = "0.1" [dependencies.log] version = "0.4" features = ["std"] [dependencies.mimalloc] version = "0.1" optional = true default-features = false [dependencies.percent-encoding] version = "2" [dependencies.socks5-impl] version = "0.5" [dependencies.thiserror] version = "2" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-util] version = "0.7" [dependencies.tproxy-config] version = "6" default-features = false [dependencies.tun] version = "0.7" features = ["async"] [dependencies.udp-stream] version = "0.0.12" default-features = false [dependencies.unicase] version = "2" [dependencies.url] version = "2" [build-dependencies.serde_json] version = "1" [features] default = ["udpgw"] udpgw = [] [target.'cfg(target_os = "windows")'.dependencies.windows-service] version = "0.7" [target.'cfg(target_os="android")'.dependencies.android_logger] version = "0.14" [target.'cfg(target_os="android")'.dependencies.jni] version = "0.21" default-features = false [target.'cfg(target_os="linux")'.dependencies.bincode] version = "1" [target.'cfg(target_os="linux")'.dependencies.serde] version = "1" features = ["derive"] [target."cfg(unix)".dependencies.daemonize] version = "0.5" [target."cfg(unix)".dependencies.nix] version = "0.29" features = [ "fs", "socket", "uio", ] default-features = false