mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
Cargo.toml: avoid "*" versions for external crates
Ensure that every Cargo.toml dependency on a third-party crates.io crate specifies at least a major version, or a minor version for 0.x crates, to ensure that if a new major version is published, it cannot cause API breaks. The versions are selected to match the ones already in Cargo.lock, so this should have no functional change, but it will help prevent new "*" versions from being introduced via copy-and-paste. For rationale, see the Cargo FAQ: <https://doc.rust-lang.org/cargo/faq.html#can-libraries-use--as-a-version-for-their-dependencies> `minijail`, `audio_streams`, and `cras` are left as "*" for now, since they have unusual situations (imported from a submodule and/or replaced at build time with ebuild magic). BUG=None TEST=tools/dev_container tools/presubmit TEST=verify Cargo.lock is unchanged Change-Id: Ifa18199f812f01d2d10bfb4146b3353c1a76527c Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5555656 Reviewed-by: Frederick Mayle <fmayle@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
31c24b551e
commit
52b8e42869
59 changed files with 205 additions and 208 deletions
14
Cargo.toml
14
Cargo.toml
|
@ -422,7 +422,7 @@ arch = { path = "arch" }
|
||||||
argh = "0.1.10"
|
argh = "0.1.10"
|
||||||
argh_helpers = { path = "argh_helpers" }
|
argh_helpers = { path = "argh_helpers" }
|
||||||
audio_streams = "*"
|
audio_streams = "*"
|
||||||
base = "*"
|
base = { path = "base" }
|
||||||
bit_field = { path = "bit_field" }
|
bit_field = { path = "bit_field" }
|
||||||
broker_ipc = { path = "broker_ipc" }
|
broker_ipc = { path = "broker_ipc" }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
|
@ -454,11 +454,11 @@ net_util = { path = "net_util" }
|
||||||
once_cell = "1.7"
|
once_cell = "1.7"
|
||||||
protobuf = { version = "3.2", optional = true }
|
protobuf = { version = "3.2", optional = true }
|
||||||
protos = { path = "protos", optional = true }
|
protos = { path = "protos", optional = true }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
resources = { path = "resources" }
|
resources = { path = "resources" }
|
||||||
scudo = { version = "0.1", optional = true }
|
scudo = { version = "0.1", optional = true }
|
||||||
serde = { version = "*", features = ["rc"] }
|
serde = { version = "1", features = ["rc"] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
serde_keyvalue = { path = "serde_keyvalue", features = ["argh_derive"] }
|
serde_keyvalue = { path = "serde_keyvalue", features = ["argh_derive"] }
|
||||||
smallvec = "1.6.1"
|
smallvec = "1.6.1"
|
||||||
static_assertions = "1.1"
|
static_assertions = "1.1"
|
||||||
|
@ -488,25 +488,23 @@ vhost = { path = "vhost" }
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
anti_tamper = { path = "vendor/generic/anti_tamper" }
|
anti_tamper = { path = "vendor/generic/anti_tamper" }
|
||||||
cros_async = { path = "cros_async" }
|
cros_async = { path = "cros_async" }
|
||||||
ctrlc = "*"
|
ctrlc = "3"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
gpu_display = { path = "gpu_display", optional = true }
|
gpu_display = { path = "gpu_display", optional = true }
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
sandbox = { path = "sandbox" }
|
sandbox = { path = "sandbox" }
|
||||||
cros_tracing = { path = "cros_tracing" }
|
cros_tracing = { path = "cros_tracing" }
|
||||||
tube_transporter = { path = "tube_transporter" }
|
tube_transporter = { path = "tube_transporter" }
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
win_audio = { path = "win_audio" }
|
win_audio = { path = "win_audio" }
|
||||||
win_util = { path = "win_util" }
|
win_util = { path = "win_util" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
base = "*"
|
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
audio_streams = { path = "common/audio_streams" }
|
audio_streams = { path = "common/audio_streams" }
|
||||||
base = { path = "base" }
|
|
||||||
cros_async = { path = "cros_async" }
|
cros_async = { path = "cros_async" }
|
||||||
data_model = { path = "common/data_model" }
|
data_model = { path = "common/data_model" }
|
||||||
libcras = { path = "libcras_stub" } # ignored by ebuild
|
libcras = { path = "libcras_stub" } # ignored by ebuild
|
||||||
|
|
|
@ -18,15 +18,15 @@ hypervisor = { path = "../hypervisor" }
|
||||||
jail = { path = "../jail" }
|
jail = { path = "../jail" }
|
||||||
kernel_cmdline = { path = "../kernel_cmdline" }
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
||||||
kernel_loader = { path = "../kernel_loader" }
|
kernel_loader = { path = "../kernel_loader" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
memoffset = "0.6"
|
memoffset = "0.6"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
resources = { path = "../resources" }
|
resources = { path = "../resources" }
|
||||||
swap = { path = "../swap" }
|
swap = { path = "../swap" }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
vm_control = { path = "../vm_control" }
|
vm_control = { path = "../vm_control" }
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ swap = ["swap/enable"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
acpi_tables = { path = "../acpi_tables" }
|
acpi_tables = { path = "../acpi_tables" }
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
cros_fdt = { path = "../cros_fdt" }
|
cros_fdt = { path = "../cros_fdt" }
|
||||||
|
@ -24,11 +24,11 @@ gdbstub_arch = { version = "0.3.0", optional = true }
|
||||||
hypervisor = { path = "../hypervisor" }
|
hypervisor = { path = "../hypervisor" }
|
||||||
jail = { path = "../jail" }
|
jail = { path = "../jail" }
|
||||||
kernel_cmdline = { path = "../kernel_cmdline" }
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
metrics = { path = "../metrics" }
|
metrics = { path = "../metrics" }
|
||||||
resources = { path = "../resources" }
|
resources = { path = "../resources" }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
serde = { version = "*", features = [ "derive"] }
|
serde = { version = "1", features = [ "derive"] }
|
||||||
serde_json = { version = "1" }
|
serde_json = { version = "1" }
|
||||||
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
||||||
swap = { path = "../swap" }
|
swap = { path = "../swap" }
|
||||||
|
@ -43,8 +43,8 @@ minijail = "*" # provided by ebuild
|
||||||
power_monitor = { path = "../power_monitor" }
|
power_monitor = { path = "../power_monitor" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|
|
@ -9,14 +9,14 @@ audio_cras = ["dep:libcras"]
|
||||||
chromeos = ["audio_cras"]
|
chromeos = ["audio_cras"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
argh = "*"
|
argh = "0.1"
|
||||||
audio_streams = { path = "../common/audio_streams" }
|
audio_streams = { path = "../common/audio_streams" }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
cros_async = { path = "../cros_async" }
|
cros_async = { path = "../cros_async" }
|
||||||
libcras = { version = "*", optional = true }
|
libcras = { version = "*", optional = true }
|
||||||
remain = "0.2"
|
remain = "0.2"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
thiserror = "1.0.20"
|
thiserror = "1.0.20"
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
||||||
|
|
|
@ -17,19 +17,19 @@ seccomp_trace = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
||||||
base_event_token_derive = { path = "base_event_token_derive", version = "*" }
|
base_event_token_derive = { path = "base_event_token_derive" }
|
||||||
sync = { path = "../common/sync" } # provided by ebuild
|
sync = { path = "../common/sync" } # provided by ebuild
|
||||||
|
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
chrono = { version = "0.4.34", features = ["now"], default-features = false }
|
chrono = { version = "0.4.34", features = ["now"], default-features = false }
|
||||||
env_logger = { version = "0.9.0", default-features = false }
|
env_logger = { version = "0.9.0", default-features = false }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
once_cell = "1.7"
|
once_cell = "1.7"
|
||||||
protobuf = { version = "3.2", optional = true }
|
protobuf = { version = "3.2", optional = true }
|
||||||
remain = "0.2"
|
remain = "0.2"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
smallvec = "1.6.1"
|
smallvec = "1.6.1"
|
||||||
thiserror = "1.0.20"
|
thiserror = "1.0.20"
|
||||||
uuid = { version = "1", features = ["v4"] }
|
uuid = { version = "1", features = ["v4"] }
|
||||||
|
@ -47,5 +47,5 @@ minijail = "*"
|
||||||
futures = { version = "0.3" }
|
futures = { version = "0.3" }
|
||||||
protobuf = "3.2"
|
protobuf = "3.2"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
win_util = { path = "../win_util"}
|
win_util = { path = "../win_util"}
|
||||||
|
|
|
@ -12,7 +12,7 @@ async-trait = "0.1.36"
|
||||||
async-task = "4"
|
async-task = "4"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
intrusive-collections = "0.9"
|
intrusive-collections = "0.9"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
once_cell = "1.7.2"
|
once_cell = "1.7.2"
|
||||||
paste = "1.0"
|
paste = "1.0"
|
||||||
pin-utils = "0.1.0-alpha.4"
|
pin-utils = "0.1.0-alpha.4"
|
||||||
|
@ -23,7 +23,7 @@ base = { path = "../base" } # provided by ebuild
|
||||||
thiserror = "1.0.20"
|
thiserror = "1.0.20"
|
||||||
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
serde = "*"
|
serde = "1"
|
||||||
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } # provided by ebuild
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } # provided by ebuild
|
||||||
static_assertions = "1.1"
|
static_assertions = "1.1"
|
||||||
tokio = { version = "1.29.1", optional = true, features = ["net", "rt-multi-thread"] }
|
tokio = { version = "1.29.1", optional = true, features = ["net", "rt-multi-thread"] }
|
||||||
|
@ -32,17 +32,17 @@ tokio = { version = "1.29.1", optional = true, features = ["net", "rt-multi-thre
|
||||||
io_uring = { path = "../io_uring" } # provided by ebuild
|
io_uring = { path = "../io_uring" } # provided by ebuild
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
win_util = { path = "../win_util" }
|
win_util = { path = "../win_util" }
|
||||||
smallvec = "*"
|
smallvec = "1"
|
||||||
|
|
||||||
[dependencies.futures]
|
[dependencies.futures]
|
||||||
version = "*"
|
version = "0.3"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["alloc"]
|
features = ["alloc"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
futures = { version = "*", features = ["executor"] }
|
futures = { version = "0.3", features = ["executor"] }
|
||||||
futures-executor = { version = "0.3", features = ["thread-pool"] }
|
futures-executor = { version = "0.3", features = ["thread-pool"] }
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|
|
@ -5,7 +5,7 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
indexmap = "*"
|
indexmap = "1"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
thiserror = "1.0.20"
|
thiserror = "1.0.20"
|
||||||
|
|
|
@ -17,8 +17,8 @@ trace_marker = []
|
||||||
perfetto = ["dep:perfetto"]
|
perfetto = ["dep:perfetto"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = "*"
|
base = { path = "../base" }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
cros_tracing_types = { path = "../cros_tracing_types" }
|
cros_tracing_types = { path = "../cros_tracing_types" }
|
||||||
perfetto = { path = "../perfetto", optional = true }
|
perfetto = { path = "../perfetto", optional = true }
|
||||||
|
|
|
@ -5,5 +5,5 @@ authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
|
|
|
@ -12,4 +12,4 @@ cfg-if = "1.0.0"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
win_util = { path = "../win_util" }
|
win_util = { path = "../win_util" }
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
|
|
|
@ -18,7 +18,7 @@ swap = { path = "../swap", default-features = false }
|
||||||
vm_control = { path = "../vm_control", features = [ "balloon" ] }
|
vm_control = { path = "../vm_control", features = [ "balloon" ] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
cbindgen = "0.24.3"
|
cbindgen = "0.24.3"
|
||||||
cc = "*"
|
cc = "1"
|
||||||
tempfile = "*"
|
tempfile = "3"
|
||||||
|
|
|
@ -13,7 +13,7 @@ crate-type = ["cdylib"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
kvm = { path = "../kvm" }
|
kvm = { path = "../kvm" }
|
||||||
kvm_sys = { path = "../kvm_sys" }
|
kvm_sys = { path = "../kvm_sys" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
protobuf = "3.2"
|
protobuf = "3.2"
|
||||||
protos = { path = "../protos", features = ["plugin"] }
|
protos = { path = "../protos", features = ["plugin"] }
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
|
|
|
@ -39,7 +39,7 @@ noncoherent-dma = []
|
||||||
argh = "0.1.7"
|
argh = "0.1.7"
|
||||||
async-task = "4"
|
async-task = "4"
|
||||||
acpi_tables = {path = "../acpi_tables" }
|
acpi_tables = {path = "../acpi_tables" }
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
async-trait = "0.1.36"
|
async-trait = "0.1.36"
|
||||||
audio_streams = "*"
|
audio_streams = "*"
|
||||||
audio_util = { path = "../audio_util" }
|
audio_util = { path = "../audio_util" }
|
||||||
|
@ -62,7 +62,7 @@ gpu_display = { path = "../gpu_display", optional = true }
|
||||||
rutabaga_gfx = { path = "../rutabaga_gfx" }
|
rutabaga_gfx = { path = "../rutabaga_gfx" }
|
||||||
hypervisor = { path = "../hypervisor" }
|
hypervisor = { path = "../hypervisor" }
|
||||||
kvm_sys = { path = "../kvm_sys" }
|
kvm_sys = { path = "../kvm_sys" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
libvda = { path = "../media/libvda", optional = true }
|
libvda = { path = "../media/libvda", optional = true }
|
||||||
linux_input_sys = { path = "../linux_input_sys" }
|
linux_input_sys = { path = "../linux_input_sys" }
|
||||||
memoffset = { version = "0.6" }
|
memoffset = { version = "0.6" }
|
||||||
|
@ -74,7 +74,7 @@ power_monitor = { path = "../power_monitor" }
|
||||||
protobuf = { version = "3.2", optional = true }
|
protobuf = { version = "3.2", optional = true }
|
||||||
protos = { path = "../protos", optional = true }
|
protos = { path = "../protos", optional = true }
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
resources = { path = "../resources" }
|
resources = { path = "../resources" }
|
||||||
serde = { version = "1", features = [ "derive", "rc" ] }
|
serde = { version = "1", features = [ "derive", "rc" ] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
|
@ -96,7 +96,7 @@ fuse = {path = "../fuse" }
|
||||||
libcras = { version = "*", optional = true }
|
libcras = { version = "*", optional = true }
|
||||||
minijail = "*"
|
minijail = "*"
|
||||||
net_sys = { path = "../net_sys" }
|
net_sys = { path = "../net_sys" }
|
||||||
p9 = "*"
|
p9 = "0.2"
|
||||||
usb_util = { path = "../usb_util" }
|
usb_util = { path = "../usb_util" }
|
||||||
vfio_sys = { path = "../vfio_sys" }
|
vfio_sys = { path = "../vfio_sys" }
|
||||||
vhost = { path = "../vhost" }
|
vhost = { path = "../vhost" }
|
||||||
|
@ -106,10 +106,10 @@ broker_ipc = { path = "../broker_ipc" }
|
||||||
tube_transporter = { path = "../tube_transporter" }
|
tube_transporter = { path = "../tube_transporter" }
|
||||||
win_audio = { path = "../win_audio"}
|
win_audio = { path = "../win_audio"}
|
||||||
win_util = { path = "../win_util"}
|
win_util = { path = "../win_util"}
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
|
|
||||||
[dependencies.futures]
|
[dependencies.futures]
|
||||||
version = "*"
|
version = "0.3"
|
||||||
features = ["async-await", "std"]
|
features = ["async-await", "std"]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
|
|
@ -13,25 +13,25 @@ composite-disk = ["crc32fast", "protos", "protobuf", "uuid"]
|
||||||
qcow = []
|
qcow = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "*"
|
async-trait = "0.1.36"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
crc32fast = { version = "1.2.1", optional = true }
|
crc32fast = { version = "1.2.1", optional = true }
|
||||||
cros_async = { path = "../cros_async" }
|
cros_async = { path = "../cros_async" }
|
||||||
data_model = { path = "../common/data_model" }
|
data_model = { path = "../common/data_model" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
protobuf = { version = "3.2", optional = true }
|
protobuf = { version = "3.2", optional = true }
|
||||||
protos = { path = "../protos", features = ["composite-disk"], optional = true }
|
protos = { path = "../protos", features = ["composite-disk"], optional = true }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
uuid = { version = "1", features = ["v4"], optional = true }
|
uuid = { version = "1", features = ["v4"], optional = true }
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
[dependencies.futures]
|
[dependencies.futures]
|
||||||
version = "*"
|
version = "0.3"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -5,16 +5,16 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
fixture = { path = "fixture" }
|
fixture = { path = "fixture" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
net_util = {path = "../net_util"}
|
net_util = {path = "../net_util"}
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
prebuilts = { path = "../prebuilts" }
|
prebuilts = { path = "../prebuilts" }
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
swap = { path= "../swap" }
|
swap = { path= "../swap" }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
||||||
net_sys = {path = "../net_sys"}
|
net_sys = {path = "../net_sys"}
|
||||||
|
|
|
@ -5,19 +5,19 @@ authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
arch = { path = "../../arch" }
|
arch = { path = "../../arch" }
|
||||||
base = "*"
|
base = { path = "../../base" }
|
||||||
crc32fast = "1.3"
|
crc32fast = "1.3"
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
libc = "0.2.65"
|
libc = "0.2.65"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
prebuilts = { path = "../../prebuilts" }
|
prebuilts = { path = "../../prebuilts" }
|
||||||
log = "*"
|
log = "0.4"
|
||||||
shlex = "1.3"
|
shlex = "1.3"
|
||||||
url = "2.3"
|
url = "2.3"
|
||||||
delegate = {path = "../guest_under_test/rootfs/delegate"}
|
delegate = {path = "../guest_under_test/rootfs/delegate"}
|
||||||
serde = {version = "*", features = ["derive"]}
|
serde = {version = "1", features = ["derive"]}
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
readclock = { path = "../guest_under_test/rootfs/readclock" }
|
readclock = { path = "../guest_under_test/rootfs/readclock" }
|
||||||
|
|
|
@ -5,5 +5,5 @@ authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = {version = "*", features = ["derive"]}
|
serde = {version = "1", features = ["derive"]}
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
|
|
|
@ -9,7 +9,7 @@ authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
serde = {version = "*", features = ["derive"]}
|
serde = {version = "1", features = ["derive"]}
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
|
|
|
@ -5,16 +5,16 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../base/" }
|
base = { path = "../base/" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
uuid = { version = "*", features = ["v4"] }
|
uuid = { version = "1", features = ["v4"] }
|
||||||
zerocopy = "0.7.29" # >=0.7.29 is required for our 'AsBytes'
|
zerocopy = "0.7.29" # >=0.7.29 is required for our 'AsBytes'
|
||||||
zerocopy-derive = "*"
|
zerocopy-derive = "0.7"
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "mkfs"
|
name = "mkfs"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
argh = "*"
|
argh = "0.1"
|
||||||
tempfile = "*"
|
tempfile = "3"
|
||||||
|
|
|
@ -8,12 +8,12 @@ edition = "2021"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base = "*"
|
base = { path = "../base" }
|
||||||
bitflags = "2.2.1"
|
bitflags = "2.2.1"
|
||||||
crossbeam-utils = "0.8"
|
crossbeam-utils = "0.8"
|
||||||
cros_tracing = { path = "../cros_tracing" }
|
cros_tracing = { path = "../cros_tracing" }
|
||||||
enumn = "0.1.0"
|
enumn = "0.1.0"
|
||||||
libc = { version = "*", features = ["extra_traits"] }
|
libc = { version = "0.2", features = ["extra_traits"] }
|
||||||
remain = "0.2"
|
remain = "0.2"
|
||||||
thiserror = "1.0.20"
|
thiserror = "1.0.20"
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
|
@ -13,13 +13,13 @@ disk = { path = "../disk" }
|
||||||
fuse = { path = "../fuse" }
|
fuse = { path = "../fuse" }
|
||||||
hypervisor = { path = "../hypervisor" }
|
hypervisor = { path = "../hypervisor" }
|
||||||
kernel_loader = { path = "../kernel_loader" }
|
kernel_loader = { path = "../kernel_loader" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
usb_util = { path = "../usb_util" }
|
usb_util = { path = "../usb_util" }
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
p9 = "*"
|
p9 = "0.2"
|
||||||
rand_core = {version = "0.6", features = ["std"]}
|
rand_core = {version = "0.6", features = ["std"]}
|
||||||
cfg-if = "1.0"
|
cfg-if = "1.0"
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,13 @@ android_display = []
|
||||||
android_display_stub = []
|
android_display_stub = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
linux_input_sys = { path = "../linux_input_sys" }
|
linux_input_sys = { path = "../linux_input_sys" }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
vm_control = { path = "../vm_control", features = ["gpu"] }
|
vm_control = { path = "../vm_control", features = ["gpu"] }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
@ -31,19 +31,19 @@ ash = { version = "0.37.0", optional = true }
|
||||||
rand = { version = "0.8.5", optional = true }
|
rand = { version = "0.8.5", optional = true }
|
||||||
protos = { path = "../protos", optional = true }
|
protos = { path = "../protos", optional = true }
|
||||||
protobuf = { version = "3.2", optional = true }
|
protobuf = { version = "3.2", optional = true }
|
||||||
euclid = { version = "*", optional = true }
|
euclid = { version = "0.22", optional = true }
|
||||||
smallvec = { version = "*", optional = true }
|
smallvec = { version = "1", optional = true }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
cros_tracing = { path = "../cros_tracing" }
|
cros_tracing = { path = "../cros_tracing" }
|
||||||
metrics = { path = "../metrics" }
|
metrics = { path = "../metrics" }
|
||||||
num-traits = "*"
|
num-traits = "0.2"
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
win_util = { path = "../win_util" }
|
win_util = { path = "../win_util" }
|
||||||
smallvec = "*"
|
smallvec = "1"
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
euclid = "*"
|
euclid = "0.22"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = "1.0.25"
|
cc = "1.0.25"
|
||||||
|
|
|
@ -12,7 +12,7 @@ gunyah = []
|
||||||
noncoherent-dma = []
|
noncoherent-dma = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
bit_field = { path = "../bit_field" }
|
bit_field = { path = "../bit_field" }
|
||||||
bitflags = "2.2.1"
|
bitflags = "2.2.1"
|
||||||
cros_fdt = { path = "../cros_fdt" }
|
cros_fdt = { path = "../cros_fdt" }
|
||||||
|
@ -20,7 +20,7 @@ data_model = { path = "../common/data_model" }
|
||||||
downcast-rs = "1.2.0"
|
downcast-rs = "1.2.0"
|
||||||
enumn = "0.1.0"
|
enumn = "0.1.0"
|
||||||
fnv = "1"
|
fnv = "1"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
memoffset = "0.6"
|
memoffset = "0.6"
|
||||||
once_cell = "1.7"
|
once_cell = "1.7"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
|
@ -37,8 +37,8 @@ hypervisor_test_macro = { path = "hypervisor_test_macro" }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
win_util = { path = "../win_util" }
|
win_util = { path = "../win_util" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies.windows]
|
[target.'cfg(windows)'.dependencies.windows]
|
||||||
|
@ -48,4 +48,4 @@ features = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[target.'cfg(windows)'.dev-dependencies]
|
[target.'cfg(windows)'.dev-dependencies]
|
||||||
tempfile = "*"
|
tempfile = "3"
|
||||||
|
|
|
@ -8,13 +8,13 @@ edition = "2021"
|
||||||
seccomp_trace = []
|
seccomp_trace = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
once_cell = "*"
|
once_cell = "1.7"
|
||||||
serde = "*"
|
serde = "1"
|
||||||
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
||||||
static_assertions = "*"
|
static_assertions = "1.1"
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
||||||
|
@ -25,4 +25,4 @@ which = "4"
|
||||||
rayon = "1.5.3"
|
rayon = "1.5.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
|
|
|
@ -4,9 +4,9 @@ version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/kernel_cmdline.rs"
|
path = "src/kernel_cmdline.rs"
|
||||||
|
|
|
@ -5,12 +5,12 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
data_model = { path = "../common/data_model" }
|
data_model = { path = "../common/data_model" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
lz4_flex = "0.11"
|
lz4_flex = "0.11"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
resources = { path = "../resources" }
|
resources = { path = "../resources" }
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
data_model = { path = "../common/data_model" }
|
data_model = { path = "../common/data_model" }
|
||||||
kvm_sys = { path = "../kvm_sys" }
|
kvm_sys = { path = "../kvm_sys" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
|
|
|
@ -6,6 +6,6 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
data_model = { path = "../common/data_model" }
|
data_model = { path = "../common/data_model" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
zerocopy = {version = "0.7", features = ["derive"]}
|
zerocopy = {version = "0.7", features = ["derive"]}
|
||||||
|
|
|
@ -9,4 +9,4 @@ path = "src/libcras.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
audio_streams = "*"
|
audio_streams = "*"
|
||||||
serde = "*"
|
serde = "1"
|
||||||
|
|
|
@ -6,6 +6,6 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
data_model = { path = "../common/data_model" }
|
data_model = { path = "../common/data_model" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
|
@ -5,10 +5,10 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
bindgen = "0.63"
|
bindgen = "0.63"
|
||||||
pkg-config = "*"
|
pkg-config = "0.3"
|
||||||
|
|
|
@ -10,7 +10,7 @@ libvda-stub = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
enumn = "0.1.0"
|
enumn = "0.1.0"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
pkg-config = "*"
|
pkg-config = "0.3"
|
||||||
|
|
|
@ -5,9 +5,9 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
metrics_events = { path = "../metrics_events" }
|
metrics_events = { path = "../metrics_events" }
|
||||||
|
@ -15,4 +15,4 @@ metrics_product = { path = "../vendor/generic/metrics", package = "metrics_gener
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
chrono = { version = "0.4.34", default-features = false, features = ["now"] }
|
chrono = { version = "0.4.34", default-features = false, features = ["now"] }
|
||||||
winapi = { version = "*" }
|
winapi = { version = "0.3" }
|
||||||
|
|
|
@ -5,8 +5,8 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
metrics_events_product = { path = "../vendor/generic/metrics_events", package = "metrics_events_generic" }
|
metrics_events_product = { path = "../vendor/generic/metrics_events", package = "metrics_events_generic" }
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,4 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
|
|
|
@ -15,12 +15,12 @@ slirp-ring-capture = ["slirp"]
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
cros_async = { path = "../cros_async" }
|
cros_async = { path = "../cros_async" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
pcap-file = { version = "1.1.0", optional = true }
|
pcap-file = { version = "1.1.0", optional = true }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
smallvec = "*"
|
smallvec = "1"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
virtio_sys = { path = "../virtio_sys" }
|
virtio_sys = { path = "../virtio_sys" }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
|
@ -29,12 +29,12 @@ net_sys = { path = "../net_sys" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
metrics = { path = "../metrics" }
|
metrics = { path = "../metrics" }
|
||||||
winapi = { version = "*", features = ["everything", "std", "impl-default"] }
|
winapi = { version = "0.3", features = ["everything", "std", "impl-default"] }
|
||||||
libslirp-sys = { version = "4.2.1", optional = true }
|
libslirp-sys = { version = "4.2.1", optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
prebuilts = { path = "../prebuilts" }
|
prebuilts = { path = "../prebuilts" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
|
|
|
@ -13,14 +13,14 @@ default = ["openssl"]
|
||||||
pure-rust-hashes = ["sha2"]
|
pure-rust-hashes = ["sha2"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
cros_tracing_types = { path = "../cros_tracing_types" }
|
cros_tracing_types = { path = "../cros_tracing_types" }
|
||||||
openssl = { version = "*", optional = true }
|
openssl = { version = "0.10", optional = true }
|
||||||
protobuf = "3.2"
|
protobuf = "3.2"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
sha2 = { version = "*", optional = true }
|
sha2 = { version = "0.10", optional = true }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,6 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
named-lock = "0.3"
|
named-lock = "0.3"
|
||||||
|
|
|
@ -5,8 +5,8 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
|
|
|
@ -15,12 +15,12 @@ gdbstub = { version = "0.7.0", optional = true }
|
||||||
gdbstub_arch = { version = "0.3.0", optional = true }
|
gdbstub_arch = { version = "0.3.0", optional = true }
|
||||||
hypervisor = { path = "../hypervisor" }
|
hypervisor = { path = "../hypervisor" }
|
||||||
kernel_cmdline = { path = "../kernel_cmdline" }
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
resources = { path = "../resources" }
|
resources = { path = "../resources" }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
vm_control = { path = "../vm_control" }
|
vm_control = { path = "../vm_control" }
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
|
|
|
@ -9,8 +9,8 @@ base = { path = "../base" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
win_util = { path = "../win_util"}
|
win_util = { path = "../win_util"}
|
||||||
winapi = { version = "*", features = ["everything", "std", "impl-default"] }
|
winapi = { version = "0.3", features = ["everything", "std", "impl-default"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
prebuilts = { path = "../prebuilts" }
|
prebuilts = { path = "../prebuilts" }
|
||||||
|
|
|
@ -12,7 +12,7 @@ argh = { version = "0.1.7", optional = true }
|
||||||
serde_keyvalue_derive = { path = "serde_keyvalue_derive", optional = true } # provided by ebuild
|
serde_keyvalue_derive = { path = "serde_keyvalue_derive", optional = true } # provided by ebuild
|
||||||
serde = "1"
|
serde = "1"
|
||||||
thiserror = { version = "1.0.20" }
|
thiserror = { version = "1.0.20" }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
nom = { version = "7.1.0", features = ["alloc"] }
|
nom = { version = "7.1.0", features = ["alloc"] }
|
||||||
|
|
||||||
|
|
|
@ -17,23 +17,23 @@ trace_marker = ["cros_tracing/trace_marker"]
|
||||||
enable = ["userfaultfd", "userfaultfd-sys"]
|
enable = ["userfaultfd", "userfaultfd-sys"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
cros_tracing = { path = "../cros_tracing" }
|
cros_tracing = { path = "../cros_tracing" }
|
||||||
jail = { path = "../jail" }
|
jail = { path = "../jail" }
|
||||||
metrics = { path = "../metrics" }
|
metrics = { path = "../metrics" }
|
||||||
num_cpus = "*"
|
num_cpus = "1"
|
||||||
once_cell = "*"
|
once_cell = "1.7"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
sync = { path = "../common/sync" } # provided by ebuild
|
sync = { path = "../common/sync" } # provided by ebuild
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
|
|
||||||
[target.'cfg(target_os="linux")'.dependencies]
|
[target.'cfg(target_os="linux")'.dependencies]
|
||||||
userfaultfd = { version = "0.8.1", optional = true }
|
userfaultfd = { version = "0.8.1", optional = true }
|
||||||
|
@ -41,4 +41,4 @@ userfaultfd-sys = { version = "0.5.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
libtest-mimic = "0.6"
|
libtest-mimic = "0.6"
|
||||||
tempfile = "*"
|
tempfile = "3"
|
||||||
|
|
8
third_party/vmm_vhost/Cargo.toml
vendored
8
third_party/vmm_vhost/Cargo.toml
vendored
|
@ -14,20 +14,20 @@ edition = "2021"
|
||||||
default = []
|
default = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../../base" }
|
base = { path = "../../base" }
|
||||||
bitflags = "2.3"
|
bitflags = "2.3"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
enumn = "0.1.0"
|
enumn = "0.1.0"
|
||||||
libc = ">=0.2.39"
|
libc = ">=0.2.39"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
thiserror = { version = "1.0.20" }
|
thiserror = { version = "1.0.20" }
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
tube_transporter = { path = "../../tube_transporter" }
|
tube_transporter = { path = "../../tube_transporter" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "*"
|
tempfile = "3"
|
||||||
|
|
|
@ -7,11 +7,11 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.75"
|
anyhow = "1.0.75"
|
||||||
argh = "*"
|
argh = "0.1"
|
||||||
libtracecmd = "0.2"
|
libtracecmd = "0.2"
|
||||||
log = "*"
|
log = "0.4"
|
||||||
once_cell = "1.18.0"
|
once_cell = "1.18.0"
|
||||||
serde = { version = "*", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
@ -6,7 +6,7 @@ edition = "2021"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rayon = "*"
|
rayon = "1"
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
@ -6,13 +6,13 @@ edition = "2021"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
argh = "*"
|
argh = "0.1"
|
||||||
ctrlc = "*"
|
ctrlc = "3"
|
||||||
env_logger = "*"
|
env_logger = "0.9"
|
||||||
log = "*"
|
log = "0.4"
|
||||||
regex = "*"
|
regex = "1.3"
|
||||||
serde = { version = "*", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
@ -11,12 +11,12 @@ argh = "0.1"
|
||||||
env_logger = "0.10"
|
env_logger = "0.10"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
regex = "1.3"
|
regex = "1.3"
|
||||||
serde = { version = "*", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
once_cell = "1"
|
once_cell = "1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rstest = "*"
|
rstest = "0.19"
|
||||||
|
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
@ -4,9 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["The Chromium OS Authors"]
|
authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
serde = { version = "*", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
argh = "*"
|
argh = "0.1"
|
||||||
uuid = {version = "1", features = ["v4"]}
|
uuid = {version = "1", features = ["v4"]}
|
||||||
|
|
|
@ -10,8 +10,8 @@ base = { path = "../base" }
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
thiserror = "1.0.20"
|
thiserror = "1.0.20"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
win_util = { path = "../win_util"}
|
win_util = { path = "../win_util"}
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
|
|
|
@ -7,9 +7,9 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
static_assertions = "1.1"
|
static_assertions = "1.1"
|
||||||
data_model = { path = "../common/data_model" }
|
data_model = { path = "../common/data_model" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
usb_sys = { path = "../usb_sys" }
|
usb_sys = { path = "../usb_sys" }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
|
|
2
vendor/generic/crypto/Cargo.toml
vendored
2
vendor/generic/crypto/Cargo.toml
vendored
|
@ -11,7 +11,7 @@ rustcrypto = []
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
base = { path = "../../../base" }
|
base = { path = "../../../base" }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
zeroize = "1.5.7"
|
zeroize = "1.5.7"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
2
vendor/generic/metrics/Cargo.toml
vendored
2
vendor/generic/metrics/Cargo.toml
vendored
|
@ -10,6 +10,6 @@ experimental = []
|
||||||
collect = []
|
collect = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
base = { path = "../../../base" }
|
base = { path = "../../../base" }
|
||||||
metrics_events = { path = "../../../metrics_events" }
|
metrics_events = { path = "../../../metrics_events" }
|
||||||
|
|
|
@ -6,10 +6,10 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
static_assertions = "1.1"
|
static_assertions = "1.1"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
net_util = { path = "../net_util" }
|
net_util = { path = "../net_util" }
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
virtio_sys = { path = "../virtio_sys" }
|
virtio_sys = { path = "../virtio_sys" }
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
|
|
|
@ -13,28 +13,28 @@ registered_events = ["balloon", "protos/registered_events"]
|
||||||
swap = ["swap/enable"]
|
swap = ["swap/enable"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
balloon_control = { path = "../common/balloon_control" }
|
balloon_control = { path = "../common/balloon_control" }
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cfg-if = "*"
|
cfg-if = "1"
|
||||||
crypto = { path = "../vendor/generic/crypto", package = "crypto_generic" }
|
crypto = { path = "../vendor/generic/crypto", package = "crypto_generic" }
|
||||||
gdbstub = { version = "0.7.0", optional = true }
|
gdbstub = { version = "0.7.0", optional = true }
|
||||||
gdbstub_arch = { version = "0.3.0", optional = true }
|
gdbstub_arch = { version = "0.3.0", optional = true }
|
||||||
hypervisor = { path = "../hypervisor" }
|
hypervisor = { path = "../hypervisor" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
once_cell = "1.7.2"
|
once_cell = "1.7.2"
|
||||||
protos = { path = "../protos", optional = true }
|
protos = { path = "../protos", optional = true }
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
resources = { path = "../resources" }
|
resources = { path = "../resources" }
|
||||||
rutabaga_gfx = { path = "../rutabaga_gfx" }
|
rutabaga_gfx = { path = "../rutabaga_gfx" }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
||||||
swap = { path = "../swap" }
|
swap = { path = "../swap" }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
vm_control_product = { path = "../vendor/generic/vm_control", package = "vm_control_product" }
|
vm_control_product = { path = "../vendor/generic/vm_control", package = "vm_control_product" }
|
||||||
vm_memory = { path = "../vm_memory" }
|
vm_memory = { path = "../vm_memory" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
|
|
|
@ -10,14 +10,14 @@ anyhow = "1.0.32"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
cros_async = { path = "../cros_async" }
|
cros_async = { path = "../cros_async" }
|
||||||
data_model = { path = "../common/data_model" }
|
data_model = { path = "../common/data_model" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
lz4_flex = "0.11"
|
lz4_flex = "0.11"
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
bitflags = "2.2.1"
|
bitflags = "2.2.1"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
serde_json = "*"
|
serde_json = "1"
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
zerocopy = { version = "0.7", features = ["derive"] }
|
zerocopy = { version = "0.7", features = ["derive"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -10,16 +10,16 @@ audio_streams = { path = "../common/audio_streams"}
|
||||||
audio_util = { path = "../audio_util" }
|
audio_util = { path = "../audio_util" }
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
cros_async = { path = "../cros_async" }
|
cros_async = { path = "../cros_async" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
win_util = { path = "../win_util" }
|
win_util = { path = "../win_util" }
|
||||||
winapi = "*"
|
winapi = "0.3"
|
||||||
wio = "*"
|
wio = "0.2"
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
metrics = { path = "../metrics"}
|
metrics = { path = "../metrics"}
|
||||||
once_cell = "1.7.2"
|
once_cell = "1.7.2"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
prebuilts = { path = "../prebuilts" }
|
prebuilts = { path = "../prebuilts" }
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ authors = ["The ChromiumOS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
enumn = "0.1.0"
|
enumn = "0.1.0"
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
once_cell = "1.7"
|
once_cell = "1.7"
|
||||||
serde = { version = "1", features = [ "derive" ] }
|
serde = { version = "1", features = [ "derive" ] }
|
||||||
zeroize = "1.5.7"
|
zeroize = "1.5.7"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = { version = "*", features = ["everything", "std", "impl-default"] }
|
winapi = { version = "0.3", features = ["everything", "std", "impl-default"] }
|
||||||
|
|
||||||
[dependencies.windows]
|
[dependencies.windows]
|
||||||
version = "0.39.0"
|
version = "0.39.0"
|
||||||
|
|
|
@ -12,7 +12,7 @@ swap = ["swap/enable"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
acpi_tables = {path = "../acpi_tables" }
|
acpi_tables = {path = "../acpi_tables" }
|
||||||
arch = { path = "../arch" }
|
arch = { path = "../arch" }
|
||||||
anyhow = "*"
|
anyhow = "1"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
chrono = { version = "0.4.34", default-features = false }
|
chrono = { version = "0.4.34", default-features = false }
|
||||||
cros_fdt = { path = "../cros_fdt" }
|
cros_fdt = { path = "../cros_fdt" }
|
||||||
|
@ -22,14 +22,14 @@ hypervisor = { path = "../hypervisor" }
|
||||||
jail = { path = "../jail" }
|
jail = { path = "../jail" }
|
||||||
kernel_cmdline = { path = "../kernel_cmdline" }
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
||||||
kernel_loader = { path = "../kernel_loader" }
|
kernel_loader = { path = "../kernel_loader" }
|
||||||
libc = "*"
|
libc = "0.2"
|
||||||
memoffset = "0.6"
|
memoffset = "0.6"
|
||||||
once_cell = "1.7.2"
|
once_cell = "1.7.2"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
remain = "*"
|
remain = "0.2"
|
||||||
resources = { path = "../resources" }
|
resources = { path = "../resources" }
|
||||||
sync = { path = "../common/sync" }
|
sync = { path = "../common/sync" }
|
||||||
thiserror = "*"
|
thiserror = "1"
|
||||||
uuid = { version = "1", features = ["v4"] }
|
uuid = { version = "1", features = ["v4"] }
|
||||||
base = { path = "../base" }
|
base = { path = "../base" }
|
||||||
swap = { path = "../swap" }
|
swap = { path = "../swap" }
|
||||||
|
|
Loading…
Reference in a new issue