Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 934 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 934 Bytes

tower-dtls

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.

Build static library

cargo build --target=x86_64-unknown-linux-musl --release

Run examples

cargo run --example server 0.0.0.0:9999
cargo run --example client 127.0.0.1:9999

TODO's

  1. Add DtlsServer wrapper around tokio-tower or perhaps make one 🤔
  2. Documentation
  3. Publish to crates.io
  4. Add an HTTP/3 example