tonic
tonic copied to clipboard
A native gRPC client & server implementation with async/await support.
## Feature Request As the author of a library/SDK that provides convenience wrappers over gRPC definitions, it'd be great if tonic-health didn't require `protoc` to compile, by checking in the...
## Feature Request ### Motivation The [gRPC richer error model] is quite useful to send additional feedback to clients, and is supported by many gRPC libraries in other languages. Implementing...
Greetings! ## Motivation So, why there `boxed error` instead of `Infallible`? There are no errors in these part, but because there `boxed error` it makes problem to use like this:...
## Bug Report When I'm using tonic_build with slight complex structure, the code generator display weird errors ### Version └── tonic v0.8.0 └── tonic-build v0.8.0 ### Platform 21.5.0 Darwin Kernel...
Related issue https://github.com/hyperium/tonic/issues/1047. With https://github.com/tokio-rs/prost/pull/657 `prost` changed how it sources `protoc` to generate the protobuf definitions and power `tonic`'s codegen. We should do a doc pass within `tonic` and `tonic-build`...
## Motivation `tonic` has a lot of generic code which causes a lot of monormorphization and therefore bloated compile times and binaries. ## Solution By extracting code which does not...
Creating client/server unit tests has two classical problems: 1) How do you find a port that's unused that the server can bind but also communicate it to the client. Typically...
## Motivation See Issue #870. Tonic server provides `interceptor` for easy creation of a middleware layer from a closure. This `interceptor` can inspect and transform the headers and metadata of...
I worked through gRPC streaming with tonic and discovered that the respective examples are incomplete. Changes: - server implementation for 3 streaming scenarios (server-, client-, bidirectional-streaming) - corresponding client implementations...
Hey, I was doing some build-time profiling on a project and tried `cargo llvm-lines` which helps visualizing the amount of code generated by the monomorphization of generic functions. Doing so,...