tun2proxy/Cargo.toml

67 lines
1.7 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"
2024-09-14 10:11:25 +08:00
version = "0.4.2"
2024-02-01 19:15:32 +08:00
edition = "2021"
2024-02-10 14:45:44 +08:00
license = "MIT"
repository = "https://github.com/blechschmidt/tun2proxy"
homepage = "https://github.com/blechschmidt/tun2proxy"
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
2021-09-02 11:30:23 +02:00
[dependencies]
2024-02-01 19:15:32 +08:00
async-trait = "0.1"
2024-03-03 19:49:10 +08:00
base64 = { version = "0.22" }
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-01-12 23:54:17 +08:00
hashlink = "0.9"
2024-07-20 13:00:21 +08:00
hickory-proto = "0.24"
2024-06-14 14:59:08 +08:00
httparse = "1"
2024-07-24 21:11:23 +08:00
ipstack = { version = "0.1" }
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"
2024-02-01 19:15:32 +08:00
socks5-impl = { version = "0.5" }
2024-06-14 14:59:08 +08:00
thiserror = "1"
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-09-02 23:10:15 +08:00
tun2 = { version = "3", 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
[target.'cfg(target_os="linux")'.dependencies]
2024-04-08 13:45:42 +08:00
serde = { version = "1", features = ["derive"] }
bincode = "1"
2024-07-08 18:35:18 +08:00
nix = { version = "0.29", default-features = false, features = [
2024-04-08 13:45:42 +08:00
"fs",
"socket",
"uio",
] }
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 09:55:27 +08:00
[target.'cfg(target_os = "windows")'.dependencies]
windows-service = "0.7"
2023-10-23 09:44:27 +08:00
[build-dependencies]
2024-06-14 14:59:08 +08:00
serde_json = "1"
2024-02-01 19:15:32 +08:00
[[bin]]
name = "tun2proxy"
path = "src/bin/main.rs"
2024-05-26 10:03:15 +08:00
[profile.release]
strip = "symbols"