2021-09-02 11:30:23 +02:00
|
|
|
[package]
|
|
|
|
authors = ["B. Blechschmidt"]
|
2023-08-31 16:11:35 +08:00
|
|
|
edition = "2021"
|
2022-08-01 14:36:58 +00:00
|
|
|
name = "tun2proxy"
|
2023-08-31 16:11:35 +08:00
|
|
|
version = "0.1.6"
|
2021-09-02 11:30:23 +02:00
|
|
|
|
2023-04-10 21:37:20 +02:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "lib"]
|
|
|
|
|
2021-09-02 11:30:23 +02:00
|
|
|
[dependencies]
|
2023-03-22 10:12:32 +01:00
|
|
|
base64 = { version = "0.21" }
|
2023-07-21 14:42:55 +08:00
|
|
|
clap = { version = "4.3", features = ["derive"] }
|
|
|
|
ctrlc = "3.4"
|
2023-08-23 14:06:02 +08:00
|
|
|
digest_auth = "0.3"
|
2023-03-23 13:28:05 +01:00
|
|
|
dotenvy = "0.15"
|
2023-03-20 15:36:02 +08:00
|
|
|
env_logger = "0.10"
|
2023-03-24 13:26:31 +01:00
|
|
|
hashlink = "0.8"
|
2023-08-23 14:06:02 +08:00
|
|
|
httparse = "1.8"
|
2023-03-25 21:12:41 +01:00
|
|
|
libc = "0.2"
|
2023-03-20 15:36:02 +08:00
|
|
|
log = "0.4"
|
2022-08-01 14:36:58 +00:00
|
|
|
mio = { version = "0.8", features = ["os-poll", "net", "os-ext"] }
|
2023-08-31 16:11:35 +08:00
|
|
|
nix = { version = "0.27", features = ["process", "signal"] }
|
2023-04-01 02:19:20 +02:00
|
|
|
prctl = "1.0"
|
2023-08-23 14:06:02 +08:00
|
|
|
smoltcp = { version = "0.10", features = ["std", "phy-tuntap_interface"] }
|
2023-07-26 07:01:48 +08:00
|
|
|
socks5-impl = { version = "0.5", default-features = false }
|
2023-03-25 00:29:14 +08:00
|
|
|
thiserror = "1.0"
|
2023-08-23 14:06:02 +08:00
|
|
|
trust-dns-proto = "0.23"
|
|
|
|
unicase = "2.7"
|
2023-07-21 14:42:55 +08:00
|
|
|
url = "2.4"
|
2023-03-20 23:52:38 +01:00
|
|
|
|
2023-08-31 14:31:02 +08:00
|
|
|
[target.'cfg(target_family="unix")'.dependencies]
|
|
|
|
fork = "0.1"
|
|
|
|
|
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-03-20 23:52:38 +01:00
|
|
|
[dev-dependencies]
|
2023-07-21 14:42:55 +08:00
|
|
|
ctor = "0.2"
|
2023-07-26 07:01:48 +08:00
|
|
|
reqwest = { version = "0.11", default-features = false, features = [
|
|
|
|
"blocking",
|
|
|
|
"json",
|
|
|
|
"rustls-tls",
|
|
|
|
] }
|
2023-07-21 14:42:55 +08:00
|
|
|
serial_test = "2.0"
|
2023-03-23 18:11:08 +01:00
|
|
|
test-log = "0.2"
|