prasannavl / rust-protobuf-native

Rust build system integration for protobuf, Google's data interchange format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-protobuf-native

This is a collection of crates that provide Rust interop for Protocol Buffers, Google's data interchange format. The following crates are available:

  • protobuf-native is a high-level, safe API to libprotobuf.
  • protobuf-sys provides automatically-generated Rust bindings to libprotobuf via autocxx.
  • protobuf-src vendors the upstream Protobuf source code and builds the libprotobuf library and protoc binary.

Related projects

There are two other major Protobuf projects in the Rust ecosystem:

  • rust-protobuf contains a protoc plugin for generating Rust code, an (incomplete) pure-Rust reimplementation of libprotobuf, including (incomplete) support for dynamic messages, and a Rust API for compiling protobufs.

  • prost contains a Rust API for compiling protobufs that uses an alternative code generation backend that purports to generate more idiomatic Rust.

This project is meant to supplement these existing tools, not supplant them. The hope is that prost and rust-protobuf will support optional integration with these crates for users who want to avoid the system protoc.

About

Rust build system integration for protobuf, Google's data interchange format.

License:Other


Languages

Language:C++ 59.8%Language:Makefile 14.0%Language:Roff 11.6%Language:Shell 8.2%Language:NASL 3.3%Language:Rust 0.7%Language:Starlark 0.7%Language:CMake 0.6%Language:M4 0.4%Language:Java 0.2%Language:C 0.1%Language:Python 0.1%Language:Objective-C 0.1%Language:Go 0.1%Language:Emacs Lisp 0.1%Language:Pawn 0.0%Language:Ruby 0.0%Language:PHP 0.0%Language:Vim Script 0.0%Language:Dart 0.0%