tun2proxy/Cargo.toml

55 lines
1.5 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-03-30 12:30:01 +08:00
version = "0.2.15"
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"
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-03-19 18:31:04 +08:00
async-recursion = "1.1"
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-02-10 14:45:44 +08:00
clap = { version = "4.5", features = ["derive", "wrap_help", "color"] }
2024-02-01 19:15:32 +08:00
ctrlc2 = { version = "3.5", 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"
2023-08-23 14:06:02 +08:00
httparse = "1.8"
2024-03-19 18:31:04 +08:00
ipstack = { version = "0.0" }
2024-02-01 19:15:32 +08:00
log = { version = "0.4", features = ["std"] }
socks5-impl = { version = "0.5" }
thiserror = "1.0"
2024-02-07 23:32:51 +08:00
tokio = { version = "1.36", features = ["full"] }
tokio-util = "0.7"
tproxy-config = { version = ">=3.0.2", features = ["log"] }
2023-08-23 14:06:02 +08:00
trust-dns-proto = "0.23"
2024-03-03 19:49:10 +08:00
tun2 = { version = "1.2", features = ["async"] }
2024-02-01 19:15:32 +08:00
udp-stream = { version = "0.0", default-features = false }
2023-08-23 14:06:02 +08:00
unicase = "2.7"
2023-12-25 23:10:13 +08:00
url = "2.5"
2023-03-20 23:52:38 +01:00
[target.'cfg(target_os="linux")'.dependencies]
serde = { version = "1", features = [ "derive" ] }
bincode = "1"
nix = { version = "0", default-features = false, features = ["fs", "socket", "uio"] }
2023-04-14 18:44:41 +08:00
[target.'cfg(target_os="android")'.dependencies]
android_logger = "0.13"
jni = { version = "0.21", default-features = false }
2023-10-23 09:44:27 +08:00
[build-dependencies]
serde_json = "1.0"
2024-02-01 19:15:32 +08:00
[[bin]]
name = "tun2proxy"
path = "src/bin/main.rs"