Skip to content

Commit 4459a1e

Browse files
authored
chore: Prepare 0.11 release (#692)
_PROST!_ is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. Relase 0.11 brings a few breaking changes and changes to how prost sources protoc. - `prost-build` now requires `protoc` to be available in the path or set via the `PROTOC` env var. - `prost-types` now contains new `Timestamp`/`Duration` `FromStr` implementations. - MSRV bump to `1.56` and all crates have been moved to edition 2021 Notible changes that are not breaking: - `prost-build` now has a `cleanup-markdown` feature for cleaining up code blocks from protobuf files so that they work under rustdoc tests. - `prost-build` now generates `as_str_name` for message types.
1 parent c6495d3 commit 4459a1e

File tree

7 files changed

+15
-11
lines changed

7 files changed

+15
-11
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "prost"
3-
version = "0.10.1"
3+
version = "0.11.0"
44
authors = [
55
"Dan Burkert <[email protected]>",
6+
"Lucio Franco <[email protected]",
67
"Tokio Contributors <[email protected]>",
78
]
89
license = "Apache-2.0"
@@ -47,7 +48,7 @@ std = []
4748

4849
[dependencies]
4950
bytes = { version = "1", default-features = false }
50-
prost-derive = { version = "0.10.0", path = "prost-derive", optional = true }
51+
prost-derive = { version = "0.11.0", path = "prost-derive", optional = true }
5152

5253
[dev-dependencies]
5354
criterion = "0.3"

prost-build/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "prost-build"
3-
version = "0.10.1"
3+
version = "0.11.0"
44
authors = [
55
"Dan Burkert <[email protected]>",
6+
"Lucio Franco <[email protected]>",
67
"Tokio Contributors <[email protected]>",
78
]
89
license = "Apache-2.0"
@@ -25,8 +26,8 @@ itertools = "0.10"
2526
log = "0.4"
2627
multimap = { version = "0.8", default-features = false }
2728
petgraph = { version = "0.6", default-features = false }
28-
prost = { version = "0.10.0", path = "..", default-features = false }
29-
prost-types = { version = "0.10.0", path = "../prost-types", default-features = false }
29+
prost = { version = "0.11.0", path = "..", default-features = false }
30+
prost-types = { version = "0.11.0", path = "../prost-types", default-features = false }
3031
tempfile = "3"
3132
lazy_static = "1.4.0"
3233
regex = { version = "1.5.5", default-features = false, features = ["std", "unicode-bool"] }

prost-build/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/prost-build/0.10.1")]
1+
#![doc(html_root_url = "https://docs.rs/prost-build/0.11.0")]
22
#![allow(clippy::option_as_ref_deref, clippy::format_push_string)]
33

44
//! `prost-build` compiles `.proto` files into Rust.

prost-derive/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "prost-derive"
3-
version = "0.10.1"
3+
version = "0.11.0"
44
authors = [
55
"Dan Burkert <[email protected]>",
6+
"Lucio Franco <[email protected]>",
67
"Tokio Contributors <[email protected]>",
78
]
89
license = "Apache-2.0"

prost-types/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "prost-types"
3-
version = "0.10.1"
3+
version = "0.11.0"
44
authors = [
55
"Dan Burkert <[email protected]>",
6+
"Lucio Franco <[email protected]",
67
"Tokio Contributors <[email protected]>",
78
]
89
license = "Apache-2.0"
@@ -22,7 +23,7 @@ std = ["prost/std"]
2223

2324
[dependencies]
2425
bytes = { version = "1", default-features = false }
25-
prost = { version = "0.10.0", path = "..", default-features = false, features = ["prost-derive"] }
26+
prost = { version = "0.11", path = "..", default-features = false, features = ["prost-derive"] }
2627

2728
[dev-dependencies]
2829
proptest = "1"

prost-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/prost-types/0.10.1")]
1+
#![doc(html_root_url = "https://docs.rs/prost-types/0.11.0")]
22

33
//! Protocol Buffers well-known types.
44
//!

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/prost/0.10.1")]
1+
#![doc(html_root_url = "https://docs.rs/prost/0.11")]
22
#![cfg_attr(not(feature = "std"), no_std)]
33
#![doc = include_str!("../README.md")]
44

0 commit comments

Comments
 (0)