rust-protobuf
rust-protobuf copied to clipboard
Rust implementation of Google protocol buffers
This PR fixes what appears to be an invalid flag used in generated comments: ```rs // This file is generated by rust-protobuf 3.2.0. Do not edit // .proto file is...
Looks like this was requested several years ago and put on hold at least until async/await were stable. #172 That happened a little while ago. I'd also love to be...
This renames `next_byte_value` to `next_str_lit_bytes` and changes the signature so that it returns between 1..=4 bytes per call, representing the variable-length nature of the UTF-8 encoding. - (hopefully) fixes #729...
It's possible I'm misreading this, but I'm running into issues trying to read text-format protobuf files that contain string literals with non-ascii characters. Reading through the source, the following really...
I'm using the open source repository containerd/rust-extensions. When I use protobuf 0.28.0, the memory cost is about 900KB. But when I use protobuf 0.3.0 or 0.4.0, the momory usage is...
background: I have a message A that is used everywhere. ```proto message A { u32 define_type = 1; bytes sub_message = 2; } ``` and there is a map that...
For my current task, I want to slice the underlying bytes of `protobuf::Chars` from a regex capture group. This seems impossible with the current API. If this was to be...
project directories ```bash tree . . ├── build.rs ├── Cargo.toml ├── demo │ └── main.rs └── proto ├── common │ └── header.proto ├── mod.rs └── module ├── header.proto └── items.proto...
protocol buffers have "deprecated = true" notation for specifying fields that are marked as deprecated. I use this feature when knowing if I need to remove users, and on C++...