rust-protobuf
rust-protobuf copied to clipboard
Rust implementation of Google protocol buffers
When I compile my proto file and I got the following error: ``` the trait `PbPrint` is not implemented for `Box` ``` Given the proto file: ``` message Message {...
I found a security issue in the project, and I've tried to contact you via email over the last months (August, October). However, they may have ended up in your...
More specifically can the Protocol Buffers data containing an arbitrary number of nested groups/series of SGROUP tags be corrupted by exceeding the stack limit ? Please see more details in...
Example ``` use protobuf::SpecialFields; #[derive(Debug)] struct Test { v1: String, v2: String, special_fields: SpecialFields, } fn main() { println!( "Test: {:?}", Test { v1: "v1".to_string(), v2: "v2".to_string(), special_fields: SpecialFields::new(), }...
One of my proto file's name ends with underscore (eg `foo_.proto`). In the `mod.rs` I get `pub mod foo;` So I manually change it to `pub mod foo_;`
This PR aims to help with decoding dynamic messages. Encoding is already supported, but decoding is not so straight-forward and to actually get any field's value, you would need to...
Currently the parser does not support new-line separation for message constant field due to that only check for: `self.tokenizer.next_symbol_if_in(&[',', ';'])?;` Additionally, extra separator without field definition will also give an...
What am I suppose to even do with this when it throws this error during compile time? ``` protobuf-rust-git/target/release/protoc-gen-rust': No such file or directory ``` if compiler exists and it...
I have tried: ```rust fn main() { let customize = protobuf_codegen::Customize::default() .generate_accessors(true) .generate_getter(true) .oneofs_non_exhaustive(false); //
Please use the common version number when publishing crates. Otherwise, users will not see the latest release. Unusual version numbers are also displayed in yellow, which represents a warning. Another...