Skip to content

Commit

Permalink
chore(deps): bump prost
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Oct 9, 2024
1 parent e2e2bb8 commit 32fc94d
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 77 deletions.
107 changes: 38 additions & 69 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 ci/version-diff-template
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ index 6dbf6a8..d7e0c22 100644
edition = "2021"
license = "Apache-2.0"
include = ["src", "build.rs", "README.md"]
@@ -17,7 +17,7 @@ prost-types = "0.10"
@@ -17,7 +17,7 @@ prost-types = "0.13.3"

# Prost doesn't generate any introspection stuff, so we hack that stuff in with
# our own procedural macros.
Expand Down
2 changes: 1 addition & 1 deletion py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ substrait-validator = { path = "../rs", version = "0.0.11" }
pyo3 = { version = "0.21.2", features = ["extension-module"] }

[build-dependencies]
prost-build = "0.10"
prost-build = "0.13.3"
pyo3-build-config = "0.22.2"
walkdir = "2"
dunce = "1"
2 changes: 1 addition & 1 deletion py/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn main() {
fs::create_dir_all(&intermediate_path).expect("failed to create protoc output directory");

// Run protoc.
let mut cmd = Command::new(prost_build::protoc());
let mut cmd = Command::new(prost_build::protoc_from_env());
for input_path in input_paths.iter() {
let mut proto_path_arg = OsString::new();
proto_path_arg.push("--proto_path=");
Expand Down
6 changes: 3 additions & 3 deletions rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ private_docs = []
[dependencies]

# Prost is used to deal with protobuf serialization and deserialization.
prost = "0.10"
prost-types = "0.10"
prost = "0.13.3"
prost-types = "0.13.3"

# Prost doesn't generate any introspection stuff, so we hack that stuff in with
# our own procedural macros.
Expand Down Expand Up @@ -91,7 +91,7 @@ semver = "1.0"
[build-dependencies]

# Used for generating Rust structs from the protobuf definitions.
prost-build = "0.10"
prost-build = "0.13.3"

# Used to automatically find all protobuf files.
walkdir = "2"
1 change: 1 addition & 0 deletions rs/src/input/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use heck::ToUpperCamelCase;

#[allow(clippy::large_enum_variant)] // caused by generated code
#[allow(clippy::derive_partial_eq_without_eq)] // caused by generated code
#[allow(clippy::doc_lazy_continuation)] // caused by generated code
pub mod substrait {
include!(concat!(env!("OUT_DIR"), "/substrait.rs"));
pub mod extensions {
Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
walkdir = "2"
glob = "0.3"
prost-build = "0.10"
prost-build = "0.13.3"
rayon = "1.10"
2 changes: 1 addition & 1 deletion tests/src/find_protoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
//! the Python code as well...

fn main() {
println!("{}", prost_build::protoc().display());
println!("{}", prost_build::protoc_from_env().display());
}

0 comments on commit 32fc94d

Please sign in to comment.