Skip to content

Commit

Permalink
rust: bump protobuf to 3.2.0 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarsky authored Mar 6, 2023
1 parent 3050326 commit f90a867
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bindings/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.60.0"

[dependencies]
# Keep in sync with dev/proto-generate.sh
protobuf = "=3.1.0"
protobuf = "=3.2.0"

[dev-dependencies]
pretty_assertions = "1.2.1"
Expand Down
4 changes: 2 additions & 2 deletions bindings/rust/src/generated/scip.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.1.0. Do not edit
// This file is generated by rust-protobuf 3.2.0. Do not edit
// .proto file is parsed by protoc --rust-out=...
// @generated

Expand All @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_1_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;

/// Index represents a complete SCIP index for a workspace this is rooted at a
/// single directory. An Index message payload can have a large memory footprint
Expand Down
2 changes: 1 addition & 1 deletion dev/proto-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PROTOC_GEN_RUST_VERSION="$(cat bindings/rust/Cargo.toml | grep 'protobuf =' | se
if ! grep -q "$PROTOC_GEN_RUST_VERSION" "./.bin/PROTOC_GEN_RUST_VERSION" \
|| ! test -f "./.bin/bin/protoc-gen-rust"; then
rm -rf .bin
cargo install --root .bin protobuf-codegen --version 3.1.0
cargo install --root .bin protobuf-codegen --version 3.2.0
echo "$PROTOC_GEN_RUST_VERSION" > "./.bin/PROTOC_GEN_RUST_VERSION"
fi

Expand Down

0 comments on commit f90a867

Please sign in to comment.