4 releases
0.2.0+26.1 | May 13, 2024 |
---|---|
0.1.2+3.19.1 | Dec 24, 2021 |
0.1.1+3.19.1 | Dec 23, 2021 |
0.1.0+3.19.1 | Dec 23, 2021 |
#19 in #data-interchange
37MB
787K
SLoC
protobuf-sys
Low-level bindings to libprotobuf, the C++ implementation of Protocol Buffers, Google's data interchange format.
Installation
# Cargo.toml
[dependencies]
protobuf-sys = "0.2.0"
lib.rs
:
Low-level bindings to libprotobuf
, the C++ implementation of Protocol
Buffers, Google's data interchange format.
Maintainership
This crate is maintained by Materialize. Contributions are encouraged:
Details
Documentation for these types can be found in the official C++ API reference.
These bindings are automatically generated by autocxx. Many types and methods are missing due to missing features in autocxx. As autocxx improves, so will these bindings. If you discover new types that autocxx is capable of generating bindings for, please submit an issue!
At present, autocxx is invoked automatically in the crate's build script. This creates a dependency on libclang at build time via the clang-sys crate. Once the bindings stabilize, we plan to manually commit the generated bindings to the repository to avoid this dependency.
Depending on your use case, the handwritten bindings in protobuf-native may be more suitable.
Dependencies
~2.7–7.5MB
~139K SLoC