feat: tcp data copy

This commit is contained in:
2022-06-19 11:14:33 +08:00
parent 45468be3bf
commit b1a8533f1f
2 changed files with 64 additions and 24 deletions

View File

@@ -15,7 +15,7 @@ socks4 = []
[dependencies]
log = "0.4"
tokio = { version = "1.17.0", features = ["io-util", "net", "time"] }
tokio = { version = "1.17.0", features = ["io-util", "net", "time", "macros"] }
anyhow = "1.0"
thiserror = "1.0"
tokio-stream = "0.1.8"