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 --releasecargo run --example server 0.0.0.0:9999cargo run --example client 127.0.0.1:9999- Add
DtlsServerwrapper around tokio-tower or perhaps make one 🤔 - Documentation
- Publish to crates.io
- Add an HTTP/3 example