Skip to content

Commit

Permalink
Merge pull request #132 from dropbox/pb-jelly-gen/v0.0.10
Browse files Browse the repository at this point in the history
Bump pb-jelly-gen to v0.0.10
  • Loading branch information
ParkMyCar authored Nov 30, 2021
2 parents bf4dd3b + 5d99d4b commit 9f02bdf
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Unreleased
... everything has been released!

# 0.0.10
### November 30, 2021
* Simplify the zerocopy implementation. (#127)
* `PbBuffer` has been reworked to untie it from `PbBufferReader`.
* `copy_from_reader` replaces `from_reader` and allows a `PbBuffer` to be constructed, by copying, from any `Buf`. Implementations can still opt out by returning `Err`.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ There are only two crates you'll need if you want to use this with you project `
Contains all of the important traits and structs that power our generated code, e.g. `Message` and `Lazy`. Include this as a `dependency`, e.g.
```
[dependencies]
pb-jelly = "0.0.9"
pb-jelly = "0.0.10"
```

##### `pb-jelly-gen`
Expand All @@ -75,7 +75,7 @@ You'll need to add a generation crate (see `examples_gen` for an example)
Include `pb-jelly-gen` as a dependency of your generation crate, and `cargo run` to invoke protoc for you.
```
[dependencies]
pb-jelly-gen = "0.0.9"
pb-jelly-gen = "0.0.10"
```

Eventually, we hope to eliminate the need for a generation crate, and simply have generation occur
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false

[dependencies]
bytes = "1.0"
pb-jelly = "0.0.9"
pb-jelly = "0.0.10"
proto_box_it = { path = "gen/rust/proto/proto_box_it" }
proto_custom_type = { path = "gen/rust/proto/proto_custom_type" }
proto_linked_list = { path = "gen/rust/proto/proto_linked_list" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ edition = "2018"
publish = false

[dependencies]
#pb-jelly-gen = "0.0.9" # If copying this example - use this
#pb-jelly-gen = "0.0.10" # If copying this example - use this
pb-jelly-gen = { path = "../../pb-jelly-gen" }
2 changes: 1 addition & 1 deletion pb-jelly-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pb-jelly-gen"
description = "A protobuf binding generation framework for the Rust language developed at Dropbox"
version = "0.0.9"
version = "0.0.10"
authors = ["Rajat Goel <[email protected]>", "Nipunn Koorapati <[email protected]>", "Parker Timmerman <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion pb-jelly-gen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Once you've completed the above steps, you should include this crate as a build-
##### `Cargo.toml`
```
[build-dependencies]
pb-jelly-gen = "0.0.9"
pb-jelly-gen = "0.0.10"
```

##### `build.rs`
Expand Down
2 changes: 1 addition & 1 deletion pb-jelly-gen/codegen/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ def get_cargo_toml_file(self, derive_serde: bool) -> Iterator[Tuple[Text, Text]]
features = {u"serde": u' features = ["serde_derive"]'}
versions = {
u"lazy_static": u' version = "1.4.0" ',
u"pb-jelly": u' version = "0.0.9" ',
u"pb-jelly": u' version = "0.0.10" ',
u"serde": u' version = "1.0" ',
u"bytes": u' version = "1.0" ',
}
Expand Down
2 changes: 1 addition & 1 deletion pb-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"

[dependencies]
bytes = "1.0"
pb-jelly = "0.0.9"
pb-jelly = "0.0.10"
pretty_assertions = "0.6.1"
proto_pbtest = { path = "gen/pb-jelly/proto_pbtest" }
walkdir = "2.3.1"
Expand Down
2 changes: 1 addition & 1 deletion pb-test/gen/pb-jelly/proto_google/Cargo.toml.expected
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ edition = "2018"

[dependencies]
lazy_static = { version = "1.4.0" }
pb-jelly = { version = "0.0.9" }
pb-jelly = { version = "0.0.10" }
2 changes: 1 addition & 1 deletion pb-test/gen/pb-jelly/proto_nopackage/Cargo.toml.expected
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ edition = "2018"

[dependencies]
lazy_static = { version = "1.4.0" }
pb-jelly = { version = "0.0.9" }
pb-jelly = { version = "0.0.10" }
2 changes: 1 addition & 1 deletion pb-test/gen/pb-jelly/proto_pbtest/Cargo.toml.expected
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2018"
[dependencies]
bytes = { version = "1.0" }
lazy_static = { version = "1.4.0" }
pb-jelly = { version = "0.0.9" }
pb-jelly = { version = "0.0.10" }
proto_google = {path = "../proto_google"}
2 changes: 1 addition & 1 deletion pb-test/pb_test_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
publish = false

[dependencies]
#pb-jelly-gen = "0.0.9" # If copying this example - use this
#pb-jelly-gen = "0.0.10" # If copying this example - use this
pb-jelly-gen = { path = "../../pb-jelly-gen" }

# only used when benchmarking PROST!
Expand Down

0 comments on commit 9f02bdf

Please sign in to comment.