diff --git a/Cargo.toml b/Cargo.toml index fdaf3a6..49f32eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,4 +24,6 @@ chacha20poly1305 = { version = "0.9.0" } tokio = { version = "1.12.0", features = [ "macros", "net", "rt-multi-thread", "io-util", "sync", "time" ] } async-trait = { version = "0.1.51" } -futures = { version = "0.3" } \ No newline at end of file +futures = { version = "0.3" } + +tokio-udt = { git = "https://github.com/amatissart/tokio-udt", rev = "99545ed" } diff --git a/src/net/udt/mod.rs b/src/net/udt/mod.rs new file mode 100644 index 0000000..8e8a0c5 --- /dev/null +++ b/src/net/udt/mod.rs @@ -0,0 +1,4 @@ +use tokio_udt::UdtConnection; +use crate::net::Socket; + +impl Socket for UdtConnection {};