#tonic #client #limit #limiting #balancing #timeout #tonic-rustls

tonic-rustls

Provide support for custom rustls configs in tonic servers and clients

2 unstable releases

new 0.2.0 May 21, 2025
0.1.0 Oct 18, 2024

#2 in #limiting

Download history 5346/week @ 2025-01-29 6055/week @ 2025-02-05 5975/week @ 2025-02-12 5793/week @ 2025-02-19 6011/week @ 2025-02-26 5367/week @ 2025-03-05 5979/week @ 2025-03-12 5314/week @ 2025-03-19 6136/week @ 2025-03-26 5100/week @ 2025-04-02 4068/week @ 2025-04-09 1875/week @ 2025-04-16 2539/week @ 2025-04-23 1671/week @ 2025-04-30 1710/week @ 2025-05-07 752/week @ 2025-05-14

7,036 downloads per month
Used in 2 crates

MIT license

125KB
3K SLoC

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

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.

Dependencies

~6–17MB
~226K SLoC