Skip to content

A dtls client/server library for the tower framework

Notifications You must be signed in to change notification settings

kcberg/tower-dtls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A dtls client/server library for the tower framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages