rust-protobuf
rust-protobuf copied to clipboard
Rust implementation of Google protocol buffers
This is a fairly simple change that isn't strictly necessary from a technical standpoint, as `OutputTarget`'s lifetime is already invariant from its other variants and there's not drop check implications...
Delta-encoding seems to be a common PBF-encoding pattern, where a repeated field is encoded as delta from the previous value rather than absolute values. Each user of the lib has...
Hi, stepancheg! We recently came across a simple requirement when using the `rust-protobuf` library, we want to dynamically parse the protobuf file at runtime and generate the corresponding `Descriptors`, we...
Solve my #611 . `BytesIteratorReader` lacks document and test, please tell me the convention to add them.
Hi and thanks for the awesome crate! From what I've tested it is the only one that supports proto2 extensions, so thank you! I am having issues printing out these...
Consider following case: A/n.proto defines a `TestA` message, and B/n.proto defines a `TestB` message. When import B/n.proto into A/m.proto, and use `TestB`, generated sources always import `TestB` via `super::n::TestB`. However,...
I updated my rust toolchain today and it seems it started failing on `rust-protobuf`'s generated code since then. The failures look like this: ``` | 9 | #![rustfmt::skip] | ^^^^^^^^^^^^^...
`flush` calls `.write_all()` on the underlying `std::io::Write` but this does not necessarily actually flush the writer. For instance, if you try using `stdout` as the writer you will notice that...
By convention, our gRPC services are structured like this: ``` ├── service 1 │ ├── message.proto │ └── service.proto ├── service 2 │ ├── message.proto │ └── service.proto ├── service...
I'm working with hundreds of `.proto` files, so it's not practical for me to manually set up a module hierarchy to mirror the protobuf package hierarchy. Some of these `.proto`...