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

Download history 6027/week @ 2023-12-18 5909/week @ 2023-12-25 5521/week @ 2024-01-01 7637/week @ 2024-01-08 8644/week @ 2024-01-15 8265/week @ 2024-01-22 9610/week @ 2024-01-29 6560/week @ 2024-02-05 4620/week @ 2024-02-12 6222/week @ 2024-02-19 8226/week @ 2024-02-26 7429/week @ 2024-03-04 5999/week @ 2024-03-11 6184/week @ 2024-03-18 6357/week @ 2024-03-25 5799/week @ 2024-04-01

24,410 downloads per month

Apache-2.0

14MB
288K SLoC

C++ 209K SLoC // 0.1% comments Shell 25K SLoC // 0.2% comments M4 25K SLoC // 0.2% comments Bitbake 12K SLoC // 0.0% comments Python 5K SLoC // 0.4% comments Automake 3.5K SLoC // 0.1% comments Bazel 2.5K SLoC // 0.1% comments Visual Studio Project 2.5K SLoC Rust 1.5K SLoC // 0.1% comments Java 741 SLoC // 0.1% comments Go 307 SLoC // 0.1% comments Ruby 282 SLoC // 0.1% comments Visual Studio Solution 187 SLoC Objective-C 177 SLoC // 0.3% comments PHP 103 SLoC Dart 89 SLoC // 0.1% comments Emacs Lisp 86 SLoC // 0.5% comments Vim Script 71 SLoC // 0.2% comments Xcode Config 32 SLoC // 0.7% comments

protobuf-native

crates.io CI Rust Documentation

A high-level, safe API for libprotobuf, the C++ implementation of Protocol Buffers, Google's data interchange format.

View documentation.

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