5 unstable releases

new 0.3.0+26.1 May 13, 2024
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

#634 in Encoding

Download history 7764/week @ 2024-01-25 9025/week @ 2024-02-01 4788/week @ 2024-02-08 4978/week @ 2024-02-15 8227/week @ 2024-02-22 7894/week @ 2024-02-29 6148/week @ 2024-03-07 6700/week @ 2024-03-14 5905/week @ 2024-03-21 6843/week @ 2024-03-28 6113/week @ 2024-04-04 5570/week @ 2024-04-11 5239/week @ 2024-04-18 3935/week @ 2024-04-25 3769/week @ 2024-05-02 3693/week @ 2024-05-09

17,497 downloads per month

Apache-2.0

35MB
741K SLoC

C++ 310K SLoC // 0.1% comments C# 123K SLoC // 0.1% comments Java 85K SLoC // 0.2% comments C 60K SLoC // 0.1% comments Objective-C 52K SLoC // 0.1% comments Bazel 28K SLoC // 0.1% comments Python 24K SLoC // 0.3% comments Bitbake 22K SLoC // 0.0% comments PHP 17K SLoC // 0.3% comments Rust 7.5K SLoC // 0.1% comments Ruby 7K SLoC // 0.1% comments Kotlin 2.5K SLoC // 0.1% comments Shell 2K SLoC // 0.2% comments Lua 1.5K SLoC // 0.1% comments Swift 350 SLoC // 0.1% comments Go 307 SLoC // 0.1% comments Dart 182 SLoC // 0.0% comments Batch 163 SLoC // 0.3% comments Emacs Lisp 85 SLoC // 0.5% comments Vim Script 71 SLoC // 0.2% comments Visual Studio Solution 53 SLoC AWK 33 SLoC // 0.1% comments Objective-C++ 15 SLoC // 0.6% comments PowerShell 8 SLoC // 0.4% comments M4 7 SLoC NuGet Config 6 SLoC

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.3.0"

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