forked from influxdata/pbjson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from influxdata/main
Keep in parity with upstream
- Loading branch information
Showing
11 changed files
with
53 additions
and
25 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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Releasing | ||
|
||
This document describes the release process for [`pbjson`], [`pbjson-types`] and | ||
[`pbjson-build`] to crates.io. | ||
|
||
Note that `pbjson-test` is not released as it is only used for testing. | ||
|
||
[`pbjson`]: https://crates.io/crates/pbjson | ||
[`pbjson-types`]: https://crates.io/crates/pbjson-types | ||
[`pbjson-build`]: https://crates.io/crates/pbjson-build | ||
|
||
## Step 1: Update Version | ||
|
||
First make a PR to update the version (example [#127](https://github.com/influxdata/pbjson/issues/127)) | ||
|
||
## Step 2: Release | ||
Run the following commands to release `pbjson`, `pbjson-types` and `pbjson-build` | ||
|
||
```shell | ||
cargo publish -p pbjson | ||
cargo publish -p pbjson-build | ||
cargo publish -p pbjson-types | ||
``` |
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,6 +1,6 @@ | ||
[package] | ||
name = "pbjson-build" | ||
version = "0.6.2" | ||
version = "0.7.0" | ||
authors = ["Raphael Taylor-Davies <[email protected]>"] | ||
edition = "2021" | ||
description = "Generates Serialize and Deserialize implementations for prost message types" | ||
|
@@ -10,10 +10,10 @@ categories = ["encoding"] | |
repository = "https://github.com/influxdata/pbjson" | ||
|
||
[dependencies] | ||
heck = "0.4" | ||
prost = "0.12" | ||
prost-types = "0.12" | ||
itertools = "0.11" | ||
heck = "0.5" | ||
prost = "0.13" | ||
prost-types = "0.13" | ||
itertools = "0.13" | ||
|
||
[dev-dependencies] | ||
tempfile = "3.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
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,13 +1,13 @@ | ||
[package] | ||
name = "pbjson-test" | ||
version = "0.6.0" | ||
version = "0.7.0" | ||
authors = ["Raphael Taylor-Davies <[email protected]>"] | ||
edition = "2021" | ||
description = "Test resources for pbjson converion" | ||
repository = "https://github.com/influxdata/pbjson" | ||
|
||
[dependencies] | ||
prost = "0.12" | ||
prost = "0.13" | ||
pbjson = { path = "../pbjson" } | ||
pbjson-types = { path = "../pbjson-types" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
|
@@ -24,5 +24,5 @@ chrono = "0.4" | |
serde_json = "1.0" | ||
|
||
[build-dependencies] | ||
prost-build = "0.12" | ||
prost-build = "0.13" | ||
pbjson-build = { path = "../pbjson-build" } |
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,6 +1,6 @@ | ||
[package] | ||
name = "pbjson-types" | ||
version = "0.6.0" | ||
version = "0.7.0" | ||
authors = ["Raphael Taylor-Davies <[email protected]>"] | ||
description = "Protobuf well known types with serde serialization support" | ||
edition = "2021" | ||
|
@@ -13,13 +13,13 @@ exclude = ["protos/*"] | |
[dependencies] # In alphabetical order | ||
bytes = "1.0" | ||
chrono = { version = "0.4", default-features = false, features = ["alloc"] } | ||
pbjson = { path = "../pbjson", version = "0.6" } | ||
prost = "0.12" | ||
pbjson = { path = "../pbjson", version = "0.7" } | ||
prost = "0.13" | ||
serde = { version = "1.0", features = ["derive"] } | ||
|
||
[dev-dependencies] | ||
serde_json = "1.0" | ||
|
||
[build-dependencies] # In alphabetical order | ||
prost-build = "0.12" | ||
pbjson-build = { path = "../pbjson-build", version = "0.6" } | ||
prost-build = "0.13" | ||
pbjson-build = { path = "../pbjson-build", version = "0.7" } |
Binary file not shown.
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,6 +1,6 @@ | ||
[package] | ||
name = "pbjson" | ||
version = "0.6.0" | ||
version = "0.7.0" | ||
authors = ["Raphael Taylor-Davies <[email protected]>"] | ||
edition = "2021" | ||
description = "Utilities for pbjson conversion" | ||
|
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,3 +1,3 @@ | ||
[toolchain] | ||
channel = "1.72" | ||
channel = "1.74" | ||
components = ["rustfmt", "clippy"] |