A DTLS client and server library
compatible with tower and its async fn(Request) -> Result<Response, Error>
interfaces.
The DTLS implementation is provided by the webrtc
project's webrtc-dtls crate which uses rustls.
See the server and client examples for usage details.
cargo build --target=x86_64-unknown-linux-musl --release
cargo run --example server 0.0.0.0:9999
cargo run --example client 127.0.0.1:9999
- Add
DtlsServer
wrapper around tokio-tower or perhaps make one 🤔 - Documentation
- Publish to crates.io
- Add an HTTP/3 example