Skip to content

Commit

Permalink
Update prost/prost-build to v0.13.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Jul 9, 2024
1 parent 21e305f commit 190d176
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ bitflags = { version = "2", features = ["serde"] }
enum-iterator = "2"
file-guard = "0.2"
tempfile = "3.5"
prost = "0.12.6"
prost = "0.13"
clap = { version = "4.3.19", features = ["derive", "wrap_help", "env"] }
colored = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ anyhow = "1"

[build-dependencies]
rustc_version = "0.4.0"
prost-build = "0.12.6"
prost-build = "0.13"
protoc-bin-vendored = "3"
4 changes: 4 additions & 0 deletions crates/protocol/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ pub enum Error {
#[error(transparent)]
ProtoBufDecode(#[from] prost::DecodeError),

/// Error generated by the protobuf library when converting enums.
#[error(transparent)]
ProtoEnum(#[from] prost::UnknownEnumValue),

/// Error generated by the SDK library.
#[error(transparent)]
Sdk(#[from] crate::sdk::Error),
Expand Down

0 comments on commit 190d176

Please sign in to comment.