mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
Cargo.toml: move tempfile to dev-dependencies
The tempfile crate is only used in tests, so it does not need to be in the main [dependencies] section of any of our first-party crates. Also fix a couple of [dev_dependencies] instances to the officially documented [dev-dependencies] name for consistency. BUG=None TEST=cargo tree Change-Id: I1dcb6be10c302baec4e8ebe6f72480f76e4e3760 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5521511 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
7bfa80063b
commit
92665a611f
8 changed files with 16 additions and 8 deletions
|
@ -463,7 +463,6 @@ smallvec = "1.6.1"
|
|||
static_assertions = "1.1"
|
||||
swap = { path = "swap" }
|
||||
sync = { path = "common/sync" }
|
||||
tempfile = "3"
|
||||
thiserror = { version = "1.0.20" }
|
||||
vm_control = { path = "vm_control" }
|
||||
acpi_tables = { path = "acpi_tables" }
|
||||
|
@ -502,6 +501,7 @@ win_util = { path = "win_util" }
|
|||
[dev-dependencies]
|
||||
base = "*"
|
||||
rand = "0.8"
|
||||
tempfile = "3"
|
||||
|
||||
[patch.crates-io]
|
||||
audio_streams = { path = "common/audio_streams" }
|
||||
|
|
|
@ -5,5 +5,7 @@ authors = ["The ChromiumOS Authors"]
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
tempfile = "3"
|
||||
zerocopy = { version = "0.7", features = ["derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
|
|
|
@ -31,7 +31,6 @@ remain = "0.2"
|
|||
serde = { version = "1", features = [ "derive" ] }
|
||||
serde_json = "*"
|
||||
smallvec = "1.6.1"
|
||||
tempfile = "3"
|
||||
thiserror = "1.0.20"
|
||||
uuid = { version = "1", features = ["v4"] }
|
||||
zerocopy = { version = "0.7", features = ["derive"] }
|
||||
|
@ -39,6 +38,7 @@ zerocopy = { version = "0.7", features = ["derive"] }
|
|||
[dev-dependencies]
|
||||
libtest-mimic = "0.6"
|
||||
protos = { path = "../protos", features = ["composite-disk"] }
|
||||
tempfile = "3"
|
||||
|
||||
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
||||
minijail = "*"
|
||||
|
|
|
@ -26,7 +26,6 @@ remain = "*"
|
|||
serde = { version = "1", features = [ "derive" ] }
|
||||
sync = { path = "../common/sync" }
|
||||
thiserror = "*"
|
||||
tempfile = "3"
|
||||
uuid = { version = "1", features = ["v4"], optional = true }
|
||||
vm_memory = { path = "../vm_memory" }
|
||||
zerocopy = { version = "0.7", features = ["derive"] }
|
||||
|
@ -34,3 +33,6 @@ zerocopy = { version = "0.7", features = ["derive"] }
|
|||
[dependencies.futures]
|
||||
version = "*"
|
||||
default-features = false
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
|
|
|
@ -39,6 +39,6 @@ libc = "*"
|
|||
userfaultfd = { version = "0.8.1", optional = true }
|
||||
userfaultfd-sys = { version = "0.5.0", optional = true }
|
||||
|
||||
[dev_dependencies]
|
||||
[dev-dependencies]
|
||||
libtest-mimic = "0.6"
|
||||
tempfile = "*"
|
||||
|
|
4
third_party/vmm_vhost/Cargo.toml
vendored
4
third_party/vmm_vhost/Cargo.toml
vendored
|
@ -21,7 +21,6 @@ cfg-if = "1.0.0"
|
|||
enumn = "0.1.0"
|
||||
libc = ">=0.2.39"
|
||||
remain = "*"
|
||||
tempfile = "*"
|
||||
thiserror = { version = "1.0.20" }
|
||||
zerocopy = { version = "0.7", features = ["derive"] }
|
||||
|
||||
|
@ -29,3 +28,6 @@ zerocopy = { version = "0.7", features = ["derive"] }
|
|||
serde = { version = "1", features = [ "derive" ] }
|
||||
serde_json = "*"
|
||||
tube_transporter = { path = "../../tube_transporter" }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "*"
|
||||
|
|
4
vendor/generic/crypto/Cargo.toml
vendored
4
vendor/generic/crypto/Cargo.toml
vendored
|
@ -12,5 +12,7 @@ anyhow = "1.0.32"
|
|||
base = { path = "../../../base" }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "*"
|
||||
tempfile = "3"
|
||||
zeroize = "1.5.7"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
|
|
|
@ -20,5 +20,5 @@ serde_json = "*"
|
|||
thiserror = "*"
|
||||
zerocopy = { version = "0.7", features = ["derive"] }
|
||||
|
||||
[dev_dependencies]
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
|
|
Loading…
Reference in a new issue