tun2proxy 0.7.20

Tunnel interface to proxy
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "tun2proxy"
version = "0.7.20"
authors = [
    "B. Blechschmidt",
    "ssrlive",
]
build = "build.rs"
autolib = false
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"

[features]
default = ["udpgw"]
udpgw = []

[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.base64easy]
version = "0.1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "wrap_help",
    "color",
]

[dependencies.ctrlc2]
version = "3.6.5"
features = [
    "async",
    "termination",
]

[dependencies.digest_auth]
version = "0.3"

[dependencies.dotenvy]
version = "0.15"

[dependencies.env_logger]
version = "0.11"

[dependencies.hashlink]
version = "0.11"

[dependencies.hickory-proto]
version = "0.25"

[dependencies.httparse]
version = "1"

[dependencies.ipstack]
version = "1"

[dependencies.log]
version = "0.4"
features = ["std"]

[dependencies.mimalloc]
version = "0.1"
optional = true
default-features = false

[dependencies.percent-encoding]
version = "2"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.shlex]
version = "1.3.0"

[dependencies.socks5-impl]
version = "0.8"
features = [
    "tokio",
    "serde",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tproxy-config]
version = "^7.0.2"
default-features = false

[dependencies.tun]
version = "0.8"
features = ["async"]

[dependencies.udp-stream]
version = "0.0.12"
default-features = false

[dependencies.unicase]
version = "2"

[dependencies.url]
version = "2"

[build-dependencies.chrono]
version = "0.4"

[build-dependencies.serde_json]
version = "1"

[target.'cfg(target_os="android")'.dependencies.android_logger]
version = "0.15"

[target.'cfg(target_os="android")'.dependencies.jni]
version = "0.22.3"
default-features = false

[target.'cfg(target_os="linux")'.dependencies.bincode]
version = "2"

[target.'cfg(target_os="windows")'.dependencies.windows-service]
version = "0.8"

[target."cfg(unix)".dependencies.daemonize]
version = "0.5"

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = [
    "fs",
    "socket",
    "uio",
]
default-features = false