Skip to content

Commit

Permalink
Bump versions to 0.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
goffrie committed Nov 21, 2024
1 parent 746510f commit 42b29de
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 15 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Unreleased
... everything has been released!

# 0.0.17
### Nov 20, 2024
* Add read-only support for proto2 extension fields (#163, #170)
* Remove Python dependency by rewriting pb-jelly-gen in Rust (#164)
* Remove serde impls for Fixed/Signed types (#168)
* Various optimizations around the generated code (#173, #175)

# 0.0.16
### Jan 18, 2024
* Replace ctype=CORD with rust.blob extension field (#160)
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: `pb-jelly` and `pb-jelly-gen`. <br />
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.16"
pb-jelly = "0.0.17"
```

##### `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.16"
pb-jelly-gen = "0.0.17"
```

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 @@ -10,7 +10,7 @@ publish = false
[dependencies]
bytes = "1.0"
compact_str = "0.5"
pb-jelly = "0.0.16"
pb-jelly = "0.0.17"
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,7 +6,7 @@ edition = "2018"
publish = false

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

[patch.crates-io]
Expand Down
4 changes: 2 additions & 2 deletions 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.16"
version = "0.0.17"
authors = ["Rajat Goel <[email protected]>", "Nipunn Koorapati <[email protected]>", "Parker Timmerman <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -23,7 +23,7 @@ generate = ["walkdir", "tempfile"]
tempfile = { version = "3.1.0", optional = true }
walkdir = { version = "2", optional = true }

pb-jelly = { version = "0.0.16" }
pb-jelly = { version = "0.0.17" }
lazy_static = "1.4.0"
indexmap = "2.0.2"

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 @@ -26,7 +26,7 @@ Add this crate as a dependency in your `Cargo.toml` and then call `gen_protos`:
##### `Cargo.toml`
```
[dependencies]
pb-jelly-gen = "0.0.16"
pb-jelly-gen = "0.0.17"
```

##### `main.rs`
Expand Down
2 changes: 1 addition & 1 deletion pb-jelly-gen/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2567,7 +2567,7 @@ impl<'a> Context<'a> {

let mut versions: IndexMap<&str, String> = IndexMap::new();
versions.insert("lazy_static", "version = \"1.4.0\"".to_string());
versions.insert("pb-jelly", "version = \"0.0.16\"".to_string());
versions.insert("pb-jelly", "version = \"0.0.17\"".to_string());
versions.insert("serde", "version = \"1.0\"".to_string());
versions.insert("serde_derive", "version = \"1.0\"".to_string());
versions.insert("bytes", "version = \"1.0\"".to_string());
Expand Down
2 changes: 1 addition & 1 deletion pb-jelly-gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! You can include `pb-jelly-gen` in your Cargo project, by including it as a `[build-dependency]` in your `Cargo.toml`
//! ```toml
//! [build-dependencies]
//! pb-jelly-gen = "0.0.16"
//! pb-jelly-gen = "0.0.17"
//! ```
//!
//! Then from a [`build.rs`](https://doc.rust-lang.org/cargo/reference/build-scripts.html) script, use either the `GenProtos` builder struct,
Expand Down
2 changes: 1 addition & 1 deletion pb-jelly/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pb-jelly"
description = "A protobuf runtime for the Rust language developed at Dropbox"
version = "0.0.16"
version = "0.0.17"
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/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include this crate as a dependency in your `Cargo.toml`.
##### `Cargo.toml`
```
[dependencies]
pb-jelly = "0.0.16"
pb-jelly = "0.0.17"
```

Then in the general case, all you'll need to use in your code is the `Message` trait this crate defines, e.g.
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.16" }
pb-jelly = { version = "0.0.17" }
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.16" }
pb-jelly = { version = "0.0.17" }
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 @@ -8,5 +8,5 @@ edition = "2018"
bytes = { version = "1.0" }
compact_str = { features=["bytes"], version = "0.5" }
lazy_static = { version = "1.4.0" }
pb-jelly = { version = "0.0.16" }
pb-jelly = { version = "0.0.17" }
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.16" # If copying this example - use this
#pb-jelly-gen = "0.0.17" # If copying this example - use this
pb-jelly-gen = { path = "../../pb-jelly-gen" }

# only used when benchmarking PROST!
Expand Down

0 comments on commit 42b29de

Please sign in to comment.