4 releases
Uses new Rust 2024
| 0.1.3 | Oct 10, 2025 |
|---|---|
| 0.1.2 | Sep 20, 2025 |
| 0.1.1 | Sep 17, 2025 |
| 0.1.0 | Sep 8, 2025 |
#606 in Algorithms
481 downloads per month
240KB
5.5K
SLoC
wirefox
Wirefox is a modern, safe, and fast protobuf library written in Rust that aims
to have feature parity with the official
google libraries. The minimum
supported rust version is 1.91.0.
Planned features (work in progress!)
- proto2, proto3, editions
- zero-copy with copy-on-write data structures
- extensions, groups, message set
- lazy messages
- proto3 json mapping
- reflection
- unknown fields
- text formatting
Basic Usage
Wirefox recommends an up-to-date protobuf-compiler installation. The version that comes with some package managers may be outdated. See https://protobuf.dev/installation for instructions on how to install it.
Differences in behavior from the official documented limits and the c++ library
- an unknown proto2 enum is not truncated to 32 bits in the unknown fields [14] [18]
- an unknown wire type is handled as an error before field number zero [11] [19]
- buffers longer than
i32::MAXare valid [16] - the default recursion limit is
128[17] [20] - an unknown map entry's data is stored verbatim [21] [22]
Dependencies
~0–480KB