crosvm/plugin_proto/Cargo.toml
Zach Reizner 99d4a18b5d require protobuf version match that of top-level Cargo.toml
When compiling unit tests in the pre-cq, the Cargo.lock file is deleted.
Testing a sub-crate without a lock file will cause the protobuf
dependency to resolve to the latest version of protobuf, which varies
based on whatever other cros-rust.eclass based ebuilds have been run
beforehand. This change fixes that source of flake.

BUG=None
TEST=pre-cq

Change-Id: Ief951391c08b0f0cc9ff035437824d89860455e2
Reviewed-on: https://chromium-review.googlesource.com/1534962
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
2019-03-25 17:43:51 -07:00

13 lines
238 B
TOML

[package]
name = "plugin_proto"
version = "0.17.0"
authors = ["The Chromium OS Authors"]
build = "build.rs"
[dependencies]
protobuf = "=1.4.3"
kvm_sys = { path = "../kvm_sys" }
[build-dependencies]
cc = "=1.0.25"
protoc-rust = "=1.4.3"