Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cab39d97 authored by Li-Yu Yu's avatar Li-Yu Yu
Browse files

Cargo.toml: Specify protobuf = 2.0

This prevents cargo from selecting a newer major release which
is incompatible. Specifying the version would unblock adding
protobuf 3.2 to ChromeOS' crate registry.

Bug: 262404106
Test: manual - emerge-amd64-generic third-party-crates-src floss with changes applied in ChromeOS' tree
Change-Id: I170de01cf1e7c10683cc0d0fe673dc90092f35f1
parent 712a1470
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ cxx = "*"
futures = "*"
grpcio = "*"
log = "*"
protobuf = "*"
protobuf = "2.0"
tokio = "*"

# Binary-only deps
+1 −2
Original line number Diff line number Diff line
@@ -28,10 +28,9 @@ cxx = "*"
futures = "*"
grpcio = "*"
log = "*"
protobuf = "*"
protobuf = "2.0"
tokio = "*"

[lib]
path = "lib.rs"
crate-type = ["rlib"]
+2 −2
Original line number Diff line number Diff line
@@ -22,12 +22,12 @@ build = "build.rs"
[dependencies]
futures = "*"
grpcio = "*"
protobuf = "*"
protobuf = "2.0"

[build-dependencies]
protoc-rust = "*"
protoc-grpcio = "*"
protobuf-codegen = "*"
protobuf-codegen = "2.0"

[lib]
crate-types = ["rlib"]
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ lazy_static = "*"
log = "*"
nix = "*"
num-traits = "*"
protobuf = "*"
protobuf = "2.0"
thiserror = "*"
tokio = "*"
tokio-stream = "*"