9 releases (breaking)
Uses new Rust 2024
| 0.7.0 | Nov 19, 2025 |
|---|---|
| 0.6.0 | Nov 19, 2025 |
| 0.5.0 | Feb 16, 2024 |
| 0.4.0 | Jul 26, 2023 |
| 0.1.2 | Jan 7, 2022 |
#710 in Concurrency
37KB
607 lines
tourniquet-tonic
Tourniquet integration with the celery library.
Example
#
#
let rr = RoundRobin::new(
vec!["https://api01", "https://api02"],
TonicConnector::default(),
);
rr.run(|channel| async move {
grpc::greeting_client::GreetingClient::new(channel.as_ref().clone())
.hello(grpc::Message::default())
.await?;
Ok(())
}).await?;
License: MIT
Dependencies
~9–14MB
~170K SLoC