Skip to content

Commit

Permalink
chore: Update prost, prost-derive and prost-build to 0.12 (#223)
Browse files Browse the repository at this point in the history
* chore: Update prost and prost-build

Signed-off-by: Andrew Lamb <[email protected]>

* fix: Update cargo.lock

Signed-off-by: Andrew Lamb <[email protected]>

* fix: run `rm proto/perftools.profiles.rs && cargo check --features prost-codec`

Signed-off-by: Andrew Lamb <[email protected]>

---------

Signed-off-by: Andrew Lamb <[email protected]>
  • Loading branch information
alamb authored Sep 27, 2023
1 parent 92f4a12 commit ea54318
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 33 deletions.
47 changes: 18 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ cfg-if = "1.0"
smallvec = "1.7"

inferno = { version = "0.11", default-features = false, features = ["nameattr"], optional = true }
prost = { version = "0.11", optional = true }
prost-derive = { version = "0.11", optional = true }
prost = { version = "0.12", optional = true }
prost-derive = { version = "0.12", optional = true }
protobuf = { version = "2.0", optional = true }
criterion = {version = "0.5", optional = true}

Expand All @@ -50,7 +50,7 @@ criterion = "0.5"
rand = "0.8.0"

[build-dependencies]
prost-build = { version = "0.11", optional = true }
prost-build = { version = "0.12", optional = true }
sha2 = { version = "0.10", optional = true }
protobuf-codegen-pure = { version = "2.0", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion proto/perftools.profiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub struct Profile {
#[prost(int64, tag = "10")]
pub duration_nanos: i64,
/// The kind of events between sampled ocurrences.
/// e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
/// e.g \[ "cpu","cycles" \] or \[ "heap","bytes" \]
#[prost(message, optional, tag = "11")]
pub period_type: ::core::option::Option<ValueType>,
/// The number of events between sampled occurrences.
Expand Down

0 comments on commit ea54318

Please sign in to comment.