11 stable releases

2.1.1+27.1 Jan 31, 2025
2.1.0+27.1 Jul 22, 2024
2.0.1+26.1 May 23, 2024
1.1.0+21.5 Sep 2, 2022
0.1.0+3.19.1 Dec 22, 2021

#97 in Network programming

Download history 27477/week @ 2024-12-14 13639/week @ 2024-12-21 18552/week @ 2024-12-28 37728/week @ 2025-01-04 37354/week @ 2025-01-11 35318/week @ 2025-01-18 35498/week @ 2025-01-25 44111/week @ 2025-02-01 45722/week @ 2025-02-08 32697/week @ 2025-02-15 38958/week @ 2025-02-22 47889/week @ 2025-03-01 46138/week @ 2025-03-08 48670/week @ 2025-03-15 53608/week @ 2025-03-22 35882/week @ 2025-03-29

192,022 downloads per month
Used in 160 crates (42 directly)

Apache-2.0

37MB
787K SLoC

C++ 321K SLoC // 0.1% comments C# 150K SLoC // 0.1% comments Java 86K SLoC // 0.2% comments C 64K SLoC // 0.1% comments Objective-C 52K SLoC // 0.1% comments Bazel 29K SLoC // 0.1% comments Python 24K SLoC // 0.3% comments Bitbake 22K SLoC // 0.0% comments PHP 17K SLoC // 0.3% comments Ruby 7K SLoC // 0.1% comments Rust 6.5K 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 159 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-src

crates.io CI Rust Documentation

Rust build system integration with libprotobuf, the C++ implementation of Protocol Buffers, Google's data interchange format.

View documentation.

Installation

# Cargo.toml
[dependencies]
protobuf-src = "2.1.1"

Dependencies