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

tonic-rustls

Provide support for custom rustls configs in tonic servers and clients

1 unstable release

0.1.0 Oct 18, 2024

#1026 in Network programming

Download history 2999/week @ 2024-10-17 4465/week @ 2024-10-24 4522/week @ 2024-10-31 3140/week @ 2024-11-07 4510/week @ 2024-11-14 5216/week @ 2024-11-21 3748/week @ 2024-11-28 5375/week @ 2024-12-05

19,934 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
~229K SLoC