#server-client #rustls #client-config #http2 #tls #tonic #builder

tonic-rustls

Provide support for custom rustls configs in tonic servers and clients

1 unstable release

new 0.1.0 Oct 18, 2024

#1162 in Network programming

Download history 2291/week @ 2024-10-16

2,373 downloads per month

MIT license

125KB
3K SLoC

tonic-rustls

tonic-rustls on crates.io Documentation (latest release)

A fork of the "transport" code from the tonic crate with the ability to provide custom rustls server and client configs.

License

This project is available under the terms of the MIT license.


lib.rs:

Batteries included server and client.

This module provides a set of batteries included, fully featured and fast set of HTTP/2 server and client's. These components each provide a rustls tls backend when the respective feature flag is enabled, and provides builders to configure transport behavior.

Features

  • TLS support via rustls.
  • Load balancing
  • Timeouts
  • Concurrency Limits
  • Rate limiting

Dependencies

~6–17MB
~225K SLoC