Skip to content

Commit f90a867

Browse files
authored
rust: bump protobuf to 3.2.0 (#126)
1 parent 3050326 commit f90a867

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bindings/rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.60.0"
1616

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

2121
[dev-dependencies]
2222
pretty_assertions = "1.2.1"

bindings/rust/src/generated/scip.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.1.0. Do not edit
1+
// This file is generated by rust-protobuf 3.2.0. Do not edit
22
// .proto file is parsed by protoc --rust-out=...
33
// @generated
44

@@ -23,7 +23,7 @@
2323
2424
/// Generated files are compatible only with the same version
2525
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_1_0;
26+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
2727

2828
/// Index represents a complete SCIP index for a workspace this is rooted at a
2929
/// single directory. An Index message payload can have a large memory footprint

dev/proto-generate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PROTOC_GEN_RUST_VERSION="$(cat bindings/rust/Cargo.toml | grep 'protobuf =' | se
1212
if ! grep -q "$PROTOC_GEN_RUST_VERSION" "./.bin/PROTOC_GEN_RUST_VERSION" \
1313
|| ! test -f "./.bin/bin/protoc-gen-rust"; then
1414
rm -rf .bin
15-
cargo install --root .bin protobuf-codegen --version 3.1.0
15+
cargo install --root .bin protobuf-codegen --version 3.2.0
1616
echo "$PROTOC_GEN_RUST_VERSION" > "./.bin/PROTOC_GEN_RUST_VERSION"
1717
fi
1818

0 commit comments

Comments
 (0)