Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump prost from 0.10.4 to 0.12.3 #100

Closed
wants to merge 9 commits into from
77 changes: 48 additions & 29 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ substrait-validator = { path = "../rs", version = "0.0.11" }
pyo3 = { version = "0.20.0", features = ["extension-module"] }

[build-dependencies]
prost-build = "0.10"
protobuf-src = "1.1.0"
prost-build = "0.12"
pyo3-build-config = "0.17.3"
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(protobuf_src::protoc());
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.12"
prost-types = "0.12"

# 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.12"

# Used to automatically find all protobuf files.
walkdir = "2"
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"
rayon = "1.5"
protobuf-src = "1.1.0"
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!("{}", protobuf_src::protoc().display());
}