Expand description
This crate generates pooled gRPC clients (that uses soda-pool crate) from the original gRPC clients generated by tonic-build crate.
§Usage
fn main() -> Result<(), Box<dyn std::error::Error>> {
soda_pool_build::configure()
.dir("./protobuf.gen/src")
.build_all_clients()?;
Ok(())
}§Output Example
Please see example/protobuf.gen for an example of generated file and example/client for its usage.
Structs§
- Soda
Pool Builder - Pooled gRPC clients generator.
Enums§
- Builder
Error - Possible errors during pooled client generation.
Functions§
- configure
- Create a default
SodaPoolBuilder.