We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 330b786 commit 4e8b38bCopy full SHA for 4e8b38b
2 files changed
protobuf/README.md
@@ -2,6 +2,17 @@
2
3
# Library to read and write protocol buffers data
4
5
+## Install
6
+
7
+To get started generaing Rust code from ProtoBufs, add this to your `Cargo.toml`
8
+```toml
9
+[dependencies]
10
+protobuf = "3.7"
11
12
+[build-dependencies]
13
+protobuf-codegen = "3.7"
14
+```
15
16
## Features
17
18
This crate has one feature, which is `with-bytes`.
protobuf/src/lib.rs
@@ -1,5 +1,16 @@
1
//! # Library to read and write protocol buffers data
//!
+//! ## Install
+//!
+//! To get started generaing Rust code from ProtoBufs, add this to your `Cargo.toml`
+//! ```toml
+//! [dependencies]
+//! protobuf = "3.7"
+//! [build-dependencies]
+//! protobuf-codegen = "3.7"
+//! ```
//! ## Features
//! This crate has one feature, which is `with-bytes`.
0 commit comments