4 releases
0.2.2+3.19.1 | Feb 13, 2024 |
---|---|
0.2.1+3.19.1 | Jan 18, 2022 |
0.2.0+3.19.1 | Jan 18, 2022 |
0.1.0 | Dec 23, 2021 |
#396 in Encoding
24,410 downloads per month
14MB
288K
SLoC
protobuf-native
A high-level, safe API for libprotobuf, the C++ implementation of Protocol Buffers, Google's data interchange format.
Installation
# Cargo.toml
[dependencies]
protobuf-native = "0.2.2"
lib.rs
:
High-level, safe bindings to libprotobuf
, the C++ implementation of
Protocol Buffers, Google's data interchange format.
Maintainership
This crate is maintained by Materialize. Contributions are encouraged:
Overview
This crate contains handwritten bindings to libprotobuf facilitated by cxx. The API that is exposed is extremely specific to the few users of this library and is subject to frequent change.
Depending on your use case, the auto-generated bindings in protobuf-sys may be more suitable.
API details
This section, as well as the documentation on individual types, is copied directly from the official C++ API reference, with a few modifications made as necessary.
Dependencies
~3–13MB
~147K SLoC