-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_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.
- Loading branch information
1 parent
c6495d3
commit 4459a1e
Showing
7 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[package] | ||
name = "prost" | ||
version = "0.10.1" | ||
version = "0.11.0" | ||
authors = [ | ||
"Dan Burkert <[email protected]>", | ||
"Lucio Franco <[email protected]", | ||
"Tokio Contributors <[email protected]>", | ||
] | ||
license = "Apache-2.0" | ||
|
@@ -47,7 +48,7 @@ std = [] | |
|
||
[dependencies] | ||
bytes = { version = "1", default-features = false } | ||
prost-derive = { version = "0.10.0", path = "prost-derive", optional = true } | ||
prost-derive = { version = "0.11.0", path = "prost-derive", optional = true } | ||
|
||
[dev-dependencies] | ||
criterion = "0.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[package] | ||
name = "prost-build" | ||
version = "0.10.1" | ||
version = "0.11.0" | ||
authors = [ | ||
"Dan Burkert <[email protected]>", | ||
"Lucio Franco <[email protected]>", | ||
"Tokio Contributors <[email protected]>", | ||
] | ||
license = "Apache-2.0" | ||
|
@@ -25,8 +26,8 @@ itertools = "0.10" | |
log = "0.4" | ||
multimap = { version = "0.8", default-features = false } | ||
petgraph = { version = "0.6", default-features = false } | ||
prost = { version = "0.10.0", path = "..", default-features = false } | ||
prost-types = { version = "0.10.0", path = "../prost-types", default-features = false } | ||
prost = { version = "0.11.0", path = "..", default-features = false } | ||
prost-types = { version = "0.11.0", path = "../prost-types", default-features = false } | ||
tempfile = "3" | ||
lazy_static = "1.4.0" | ||
regex = { version = "1.5.5", default-features = false, features = ["std", "unicode-bool"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[package] | ||
name = "prost-derive" | ||
version = "0.10.1" | ||
version = "0.11.0" | ||
authors = [ | ||
"Dan Burkert <[email protected]>", | ||
"Lucio Franco <[email protected]>", | ||
"Tokio Contributors <[email protected]>", | ||
] | ||
license = "Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[package] | ||
name = "prost-types" | ||
version = "0.10.1" | ||
version = "0.11.0" | ||
authors = [ | ||
"Dan Burkert <[email protected]>", | ||
"Lucio Franco <[email protected]", | ||
"Tokio Contributors <[email protected]>", | ||
] | ||
license = "Apache-2.0" | ||
|
@@ -22,7 +23,7 @@ std = ["prost/std"] | |
|
||
[dependencies] | ||
bytes = { version = "1", default-features = false } | ||
prost = { version = "0.10.0", path = "..", default-features = false, features = ["prost-derive"] } | ||
prost = { version = "0.11", path = "..", default-features = false, features = ["prost-derive"] } | ||
|
||
[dev-dependencies] | ||
proptest = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters