Introduce cancellation token and reduce amount of code (#88)

Test passed on Android. Thanks a lot.
This commit is contained in:
Andrej Mihajlov 2024-02-10 17:36:54 +01:00 committed by GitHub
parent 2434c62524
commit 2a9775ce2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 59 additions and 126 deletions

View file

@ -29,6 +29,7 @@ log = { version = "0.4", features = ["std"] }
socks5-impl = { version = "0.5" }
thiserror = "1.0"
tokio = { version = "1.36", features = ["full"] }
tokio-util = "0.7"
tproxy-config = { version = "0.1", features = ["log"] }
trust-dns-proto = "0.23"
tun2 = { version = "1.0", features = ["async"] }