Skip to content

Commit

Permalink
Updated with prost-types 0.13.1 changes. Name trait still not impleme…
Browse files Browse the repository at this point in the history
…nted yet.
  • Loading branch information
fdeantoni committed Jul 28, 2024
2 parents da91279 + 49967ca commit fd9f222
Show file tree
Hide file tree
Showing 13 changed files with 649 additions and 2,400 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.70"
members = [ "wkt-build", "wkt-types", "example" ]

[dependencies]
prost = "0.13"
prost = "0.13.1"
inventory = "0.3.0"
serde = "1.0"
serde_json = "1.0"
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,10 @@ Contributions are welcome!

### Upgrading Prost ###

When upgrading Prost to the latest version, make sure to also run `wkt-types/resources/update.sh` script. This will
grab the latest source files from `prost-types` and merge them into `prost-wkt-types` at build time. After the script
has run, be sure to validate all the changes made in prost-types have been incorporated to ensure full compatibility.
When upgrading Prost to the latest version, make sure the latest changes from `prost-types` are incorporated into `prost-wkt-types` to ensure full compatibility.

Please see `wkt-types/README.md` for more info.
Currently the `Name` traits have specifically not been implemented until this implementation in Prost has fully
stabilized.

## MSRV ##

Expand Down
4 changes: 2 additions & 2 deletions example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
rust-version = "1.70"

[dependencies]
prost = "0.13"
prost = "0.13.1"
prost-wkt = { path = ".." }
prost-wkt-types = { path = "../wkt-types" }
serde = "1.0"
Expand All @@ -15,5 +15,5 @@ serde_json = "1.0"
chrono = { version = "0.4.27", default-features = false, features = ["clock", "serde"] }

[build-dependencies]
prost-build = "0.13"
prost-build = "0.13.1"
prost-wkt-build = { path = "../wkt-build" }
6 changes: 3 additions & 3 deletions wkt-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ edition = "2021"
rust-version = "1.70"

[dependencies]
prost = "0.13"
prost-types = "0.13"
prost-build = "0.13"
prost = "0.13.1"
prost-types = "0.13.1"
prost-build = "0.13.1"
quote = "1.0"
heck = { version = ">=0.4, <=0.5" }
8 changes: 4 additions & 4 deletions wkt-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ vendored-protox = ["protox"]

[dependencies]
prost-wkt = { version = "0.5.1", path = ".." }
prost = "0.13"
prost = "0.13.1"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
chrono = { version = "0.4.27", default-features = false, features = ["serde"] }

[build-dependencies]
prost = "0.13"
prost-types = "0.13"
prost-build = "0.13"
prost = "0.13.1"
prost-types = "0.13.1"
prost-build = "0.13.1"
prost-wkt-build = { version = "0.5.1", path = "../wkt-build" }
regex = "1"
protobuf-src = { version = "1.1.0", optional = true }
Expand Down
5 changes: 0 additions & 5 deletions wkt-types/resources/README.md

This file was deleted.

Loading

0 comments on commit fd9f222

Please sign in to comment.