2021-09-02 11:30:23 +02:00
|
|
|
[package]
|
|
|
|
authors = ["B. Blechschmidt"]
|
|
|
|
edition = "2018"
|
2022-08-01 14:36:58 +00:00
|
|
|
name = "tun2proxy"
|
|
|
|
version = "0.1.1"
|
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-03-20 14:13:06 +08:00
|
|
|
clap = { version = "4.1", features = ["derive"] }
|
2023-03-25 21:12:41 +01:00
|
|
|
ctrlc = "3.2"
|
2023-03-23 13:28:05 +01:00
|
|
|
dotenvy = "0.15"
|
2023-03-20 15:36:02 +08:00
|
|
|
env_logger = "0.10"
|
2023-04-01 02:19:20 +02:00
|
|
|
fork = "0.1"
|
2023-03-24 13:26:31 +01:00
|
|
|
hashlink = "0.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-04-01 02:19:20 +02:00
|
|
|
nix = { version = "0.26", features = ["process", "signal"] }
|
|
|
|
prctl = "1.0"
|
2023-04-10 23:24:53 +02:00
|
|
|
smoltcp = { version = "0.9", git = "https://github.com/blechschmidt/smoltcp", branch = "android", features = ["std"] }
|
2023-03-25 00:29:14 +08:00
|
|
|
thiserror = "1.0"
|
2023-03-22 11:17:28 +01:00
|
|
|
url = "2.3"
|
2023-03-20 23:52:38 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
ctor = "0.1"
|
2023-03-21 00:06:15 +01:00
|
|
|
reqwest = { version = "0.11", features = ["blocking", "json"] }
|
|
|
|
serial_test = "1.0"
|
2023-03-23 18:11:08 +01:00
|
|
|
test-log = "0.2"
|