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

#391 in Encoding

Download history 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 6236/week @ 2024-04-01 6378/week @ 2024-04-08 5802/week @ 2024-04-15 4639/week @ 2024-04-22 2619/week @ 2024-04-29 4907/week @ 2024-05-06

18,010 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 351 SLoC // 0.1% comments Go 308 SLoC // 0.1% comments Dart 183 SLoC // 0.0% comments Batch 164 SLoC // 0.3% comments Emacs Lisp 86 SLoC // 0.5% comments Vim Script 72 SLoC // 0.2% comments Visual Studio Solution 54 SLoC AWK 34 SLoC // 0.1% comments Objective-C++ 16 SLoC // 0.6% comments PowerShell 9 SLoC // 0.4% comments M4 8 SLoC NuGet Config 7 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