From fd67ec5ffc84d8726ebcb141ddb93e10a046ee72 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 10 Apr 2019 17:59:15 -0700 Subject: protos: Update to protobuf 2.3 This matches the version already used by crostini_client. The newer protobuf version depends on the tempfile crate rather than tempdir, the latter being now deprecated. So I replaced our immitation tempdir crate with one that matches the API of tempfile instead. As a reminder, we use this crate as a patch to avoid pulling in all of the rand crate and its many dependencies. TEST=cargo check --features plugin CQ-DEPEND=CL:1553971 Change-Id: I28eed3ceadb1013f015400b4c582aaf8dc89eee1 Reviewed-on: https://chromium-review.googlesource.com/1562924 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: David Tolnay Tested-by: kokoro Reviewed-by: Zach Reizner Reviewed-by: Daniel Verkamp --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 4a6edc5..27b128c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ exclude = [ "sync", "sys_util", "syscall_defines", - "tempdir", + "tempfile", ] [features] @@ -50,7 +50,7 @@ msg_socket = { path = "msg_socket" } net_util = { path = "net_util" } p9 = { path = "p9" } plugin_proto = { path = "plugin_proto", optional = true } -protobuf = { version = "=1.4.3", optional = true } +protobuf = { version = "2.3", optional = true } qcow = { path = "qcow" } rand_ish = { path = "rand_ish" } render_node_forward = { path = "render_node_forward", optional = true } @@ -78,4 +78,4 @@ poll_token_derive = { path = "sys_util/poll_token_derive" } sync = { path = "sync" } sys_util = { path = "sys_util" } syscall_defines = { path = "syscall_defines" } -tempdir = { path = "tempdir" } +tempfile = { path = "tempfile" } -- cgit 1.4.1