Skip to content

Commit 3eda17f

Browse files
committed
init tokio-udt
1 parent dd7e34a commit 3eda17f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ chacha20poly1305 = { version = "0.9.0" }
2424

2525
tokio = { version = "1.12.0", features = [ "macros", "net", "rt-multi-thread", "io-util", "sync", "time" ] }
2626
async-trait = { version = "0.1.51" }
27-
futures = { version = "0.3" }
27+
futures = { version = "0.3" }
28+
29+
tokio-udt = { git = "https://github.com/amatissart/tokio-udt", rev = "99545ed" }

src/net/udt/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
use tokio_udt::UdtConnection;
2+
use crate::net::Socket;
3+
4+
impl Socket for UdtConnection {};

0 commit comments

Comments
 (0)