rust-protobuf
rust-protobuf copied to clipboard
Rust implementation of Google protocol buffers
Enable conversions between Timestamp and SystemTime using references without cloning, and add support for SystemTime::from(Timestamp) in addition to Into (which is derived from the From implementations) Refer to the note...
Work-in-progress PR for generating protobufs in a module hierarchy - resolves #260 - resolves #438 - resolves #644 - prerequisite #687, TODO: - add tests - code generate the `mod.rs`...
[`From`] implementations for [`Timestamp`] and [`Duration`] well-known types that convert to standard library [`std::time::SystemTime`] and [`std::time::Duration`] state that they panic when given values out of the allowed range. However, this...
Hey @stepancheg, Awesome work here! I would like to use some of this for a project. Basically, I would like to be able to parse protocol buffer files and do...
I'd like to make use of `rust-protobuf` instead of `prost` when building servers based on `tonic`. Primary use cases are reading options on messages and service descriptors, and being able...
I have a Protobuf that looks something like this: ```proto message Foo { oneof command { Bar bar = 1; SetBar bar = 2; } } message Bar {} message...
In the current reflection api for map, there is no way to get a mutable reference to a value You can do map.[get](https://docs.rs/protobuf/latest/protobuf/reflect/struct.ReflectMapMut.html#method.get)() but that returns immutable value. would it...
I am using native codegen & parser. I was trying to compile generated rs files from created from [this file](https://github.com/cilium/tetragon/blob/main/api/v1/tetragon/tetragon.proto) and got these errors: ``` Compiling input v0.1.0 (/home/dimanne/devel/scripts/observability/digester) error:...
I executed fuzzing, and faces many intentional crashes such like assert statement. Most crashes does not documented with `# Panic` section, so I'll list up those. Since most of them...
Currently, array literals are not parsed in the text_proto format. For instance, consider the following message: ```proto message Greetings { repeated string greetings = 1; } ``` If you try...