diff --git a/Cargo.toml b/Cargo.toml index 8c4765e6aa..f6266da57d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -422,7 +422,7 @@ arch = { path = "arch" } argh = "0.1.10" argh_helpers = { path = "argh_helpers" } audio_streams = "*" -base = "*" +base = { path = "base" } bit_field = { path = "bit_field" } broker_ipc = { path = "broker_ipc" } cfg-if = "1.0.0" @@ -454,11 +454,11 @@ net_util = { path = "net_util" } once_cell = "1.7" protobuf = { version = "3.2", optional = true } protos = { path = "protos", optional = true } -remain = "*" +remain = "0.2" resources = { path = "resources" } scudo = { version = "0.1", optional = true } -serde = { version = "*", features = ["rc"] } -serde_json = "*" +serde = { version = "1", features = ["rc"] } +serde_json = "1" serde_keyvalue = { path = "serde_keyvalue", features = ["argh_derive"] } smallvec = "1.6.1" static_assertions = "1.1" @@ -488,25 +488,23 @@ vhost = { path = "vhost" } [target.'cfg(windows)'.dependencies] anti_tamper = { path = "vendor/generic/anti_tamper" } cros_async = { path = "cros_async" } -ctrlc = "*" +ctrlc = "3" futures = "0.3" gpu_display = { path = "gpu_display", optional = true } rand = "0.8" sandbox = { path = "sandbox" } cros_tracing = { path = "cros_tracing" } tube_transporter = { path = "tube_transporter" } -winapi = "*" +winapi = "0.3" win_audio = { path = "win_audio" } win_util = { path = "win_util" } [dev-dependencies] -base = "*" rand = "0.8" tempfile = "3" [patch.crates-io] audio_streams = { path = "common/audio_streams" } -base = { path = "base" } cros_async = { path = "cros_async" } data_model = { path = "common/data_model" } libcras = { path = "libcras_stub" } # ignored by ebuild diff --git a/aarch64/Cargo.toml b/aarch64/Cargo.toml index f32500c449..a04fcc91ed 100644 --- a/aarch64/Cargo.toml +++ b/aarch64/Cargo.toml @@ -18,15 +18,15 @@ hypervisor = { path = "../hypervisor" } jail = { path = "../jail" } kernel_cmdline = { path = "../kernel_cmdline" } kernel_loader = { path = "../kernel_loader" } -libc = "*" +libc = "0.2" memoffset = "0.6" rand = "0.8" -remain = "*" +remain = "0.2" resources = { path = "../resources" } swap = { path = "../swap" } sync = { path = "../common/sync" } base = { path = "../base" } -thiserror = "*" +thiserror = "1" vm_control = { path = "../vm_control" } vm_memory = { path = "../vm_memory" } diff --git a/arch/Cargo.toml b/arch/Cargo.toml index 79d3852649..3760939904 100644 --- a/arch/Cargo.toml +++ b/arch/Cargo.toml @@ -13,7 +13,7 @@ swap = ["swap/enable"] [dependencies] acpi_tables = { path = "../acpi_tables" } -anyhow = "*" +anyhow = "1" base = { path = "../base" } cfg-if = "1.0.0" cros_fdt = { path = "../cros_fdt" } @@ -24,11 +24,11 @@ gdbstub_arch = { version = "0.3.0", optional = true } hypervisor = { path = "../hypervisor" } jail = { path = "../jail" } kernel_cmdline = { path = "../kernel_cmdline" } -libc = "*" +libc = "0.2" metrics = { path = "../metrics" } resources = { path = "../resources" } -remain = "*" -serde = { version = "*", features = [ "derive"] } +remain = "0.2" +serde = { version = "1", features = [ "derive"] } serde_json = { version = "1" } serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } swap = { path = "../swap" } @@ -43,8 +43,8 @@ minijail = "*" # provided by ebuild power_monitor = { path = "../power_monitor" } [target.'cfg(windows)'.dependencies] -winapi = "*" +winapi = "0.3" [dev-dependencies] -serde_json = "*" +serde_json = "1" tempfile = "3" diff --git a/audio_streams_conformance_test/Cargo.toml b/audio_streams_conformance_test/Cargo.toml index e3ea89bcee..5f829dcfb1 100644 --- a/audio_streams_conformance_test/Cargo.toml +++ b/audio_streams_conformance_test/Cargo.toml @@ -9,14 +9,14 @@ audio_cras = ["dep:libcras"] chromeos = ["audio_cras"] [dependencies] -argh = "*" +argh = "0.1" audio_streams = { path = "../common/audio_streams" } cfg-if = "1.0.0" cros_async = { path = "../cros_async" } libcras = { version = "*", optional = true } remain = "0.2" serde = { version = "1.0", features = ["derive"] } -serde_json = "*" +serde_json = "1" thiserror = "1.0.20" [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] diff --git a/base/Cargo.toml b/base/Cargo.toml index 566965e510..eef55ddc5e 100644 --- a/base/Cargo.toml +++ b/base/Cargo.toml @@ -17,19 +17,19 @@ seccomp_trace = [] [dependencies] 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 -cfg-if = "*" +cfg-if = "1" chrono = { version = "0.4.34", features = ["now"], default-features = false } env_logger = { version = "0.9.0", default-features = false } -libc = "*" +libc = "0.2" log = "0.4" once_cell = "1.7" protobuf = { version = "3.2", optional = true } remain = "0.2" serde = { version = "1", features = [ "derive" ] } -serde_json = "*" +serde_json = "1" smallvec = "1.6.1" thiserror = "1.0.20" uuid = { version = "1", features = ["v4"] } @@ -47,5 +47,5 @@ minijail = "*" futures = { version = "0.3" } protobuf = "3.2" rand = "0.8" -winapi = "*" +winapi = "0.3" win_util = { path = "../win_util"} diff --git a/cros_async/Cargo.toml b/cros_async/Cargo.toml index fb25c40ad3..a05168aea7 100644 --- a/cros_async/Cargo.toml +++ b/cros_async/Cargo.toml @@ -12,7 +12,7 @@ async-trait = "0.1.36" async-task = "4" cfg-if = "1.0.0" intrusive-collections = "0.9" -libc = "*" +libc = "0.2" once_cell = "1.7.2" paste = "1.0" pin-utils = "0.1.0-alpha.4" @@ -23,7 +23,7 @@ base = { path = "../base" } # provided by ebuild thiserror = "1.0.20" audio_streams = { path = "../common/audio_streams" } # provided by ebuild anyhow = "1.0" -serde = "*" +serde = "1" serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } # provided by ebuild static_assertions = "1.1" 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 [target.'cfg(windows)'.dependencies] -winapi = "*" +winapi = "0.3" win_util = { path = "../win_util" } -smallvec = "*" +smallvec = "1" [dependencies.futures] -version = "*" +version = "0.3" default-features = false features = ["alloc"] [dev-dependencies] -futures = { version = "*", features = ["executor"] } +futures = { version = "0.3", features = ["executor"] } futures-executor = { version = "0.3", features = ["thread-pool"] } futures-util = "0.3" tempfile = "3" diff --git a/cros_fdt/Cargo.toml b/cros_fdt/Cargo.toml index 836e6c8523..6ba39ba38c 100644 --- a/cros_fdt/Cargo.toml +++ b/cros_fdt/Cargo.toml @@ -5,7 +5,7 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -anyhow = "*" -indexmap = "*" -remain = "*" +anyhow = "1" +indexmap = "1" +remain = "0.2" thiserror = "1.0.20" diff --git a/cros_tracing/Cargo.toml b/cros_tracing/Cargo.toml index 4036d0c928..591171b06b 100644 --- a/cros_tracing/Cargo.toml +++ b/cros_tracing/Cargo.toml @@ -17,8 +17,8 @@ trace_marker = [] perfetto = ["dep:perfetto"] [dependencies] -anyhow = "*" -base = "*" +anyhow = "1" +base = { path = "../base" } cfg-if = "1.0.0" cros_tracing_types = { path = "../cros_tracing_types" } perfetto = { path = "../perfetto", optional = true } diff --git a/cros_tracing_types/Cargo.toml b/cros_tracing_types/Cargo.toml index cf9da2b4dd..9888279c61 100644 --- a/cros_tracing_types/Cargo.toml +++ b/cros_tracing_types/Cargo.toml @@ -5,5 +5,5 @@ authors = ["The Chromium OS Authors"] edition = "2021" [dependencies] -anyhow = "*" +anyhow = "1" sync = { path = "../common/sync" } diff --git a/crosvm_cli/Cargo.toml b/crosvm_cli/Cargo.toml index cb351f84d5..b5bbac5bbd 100644 --- a/crosvm_cli/Cargo.toml +++ b/crosvm_cli/Cargo.toml @@ -12,4 +12,4 @@ cfg-if = "1.0.0" [target.'cfg(windows)'.dependencies] win_util = { path = "../win_util" } -winapi = "*" +winapi = "0.3" diff --git a/crosvm_control/Cargo.toml b/crosvm_control/Cargo.toml index 4c466a7f91..57c4ac8e19 100644 --- a/crosvm_control/Cargo.toml +++ b/crosvm_control/Cargo.toml @@ -18,7 +18,7 @@ swap = { path = "../swap", default-features = false } vm_control = { path = "../vm_control", features = [ "balloon" ] } [build-dependencies] -anyhow = "*" +anyhow = "1" cbindgen = "0.24.3" -cc = "*" -tempfile = "*" +cc = "1" +tempfile = "3" diff --git a/crosvm_plugin/Cargo.toml b/crosvm_plugin/Cargo.toml index 94f7f734f1..143eb45e89 100644 --- a/crosvm_plugin/Cargo.toml +++ b/crosvm_plugin/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["cdylib"] [dependencies] kvm = { path = "../kvm" } kvm_sys = { path = "../kvm_sys" } -libc = "*" +libc = "0.2" protobuf = "3.2" protos = { path = "../protos", features = ["plugin"] } base = { path = "../base" } diff --git a/devices/Cargo.toml b/devices/Cargo.toml index de3b798c47..55c86a77bb 100644 --- a/devices/Cargo.toml +++ b/devices/Cargo.toml @@ -39,7 +39,7 @@ noncoherent-dma = [] argh = "0.1.7" async-task = "4" acpi_tables = {path = "../acpi_tables" } -anyhow = "*" +anyhow = "1" async-trait = "0.1.36" audio_streams = "*" audio_util = { path = "../audio_util" } @@ -62,7 +62,7 @@ gpu_display = { path = "../gpu_display", optional = true } rutabaga_gfx = { path = "../rutabaga_gfx" } hypervisor = { path = "../hypervisor" } kvm_sys = { path = "../kvm_sys" } -libc = "*" +libc = "0.2" libvda = { path = "../media/libvda", optional = true } linux_input_sys = { path = "../linux_input_sys" } memoffset = { version = "0.6" } @@ -74,7 +74,7 @@ power_monitor = { path = "../power_monitor" } protobuf = { version = "3.2", optional = true } protos = { path = "../protos", optional = true } rand = "0.8" -remain = "*" +remain = "0.2" resources = { path = "../resources" } serde = { version = "1", features = [ "derive", "rc" ] } serde_json = "1" @@ -96,7 +96,7 @@ fuse = {path = "../fuse" } libcras = { version = "*", optional = true } minijail = "*" net_sys = { path = "../net_sys" } -p9 = "*" +p9 = "0.2" usb_util = { path = "../usb_util" } vfio_sys = { path = "../vfio_sys" } vhost = { path = "../vhost" } @@ -106,10 +106,10 @@ broker_ipc = { path = "../broker_ipc" } tube_transporter = { path = "../tube_transporter" } win_audio = { path = "../win_audio"} win_util = { path = "../win_util"} -winapi = "*" +winapi = "0.3" [dependencies.futures] -version = "*" +version = "0.3" features = ["async-await", "std"] default-features = false diff --git a/disk/Cargo.toml b/disk/Cargo.toml index be1797378d..9c70217d5e 100644 --- a/disk/Cargo.toml +++ b/disk/Cargo.toml @@ -13,25 +13,25 @@ composite-disk = ["crc32fast", "protos", "protobuf", "uuid"] qcow = [] [dependencies] -async-trait = "*" +async-trait = "0.1.36" base = { path = "../base" } cfg-if = "1.0.0" crc32fast = { version = "1.2.1", optional = true } cros_async = { path = "../cros_async" } data_model = { path = "../common/data_model" } -libc = "*" +libc = "0.2" protobuf = { version = "3.2", optional = true } protos = { path = "../protos", features = ["composite-disk"], optional = true } -remain = "*" +remain = "0.2" serde = { version = "1", features = [ "derive" ] } sync = { path = "../common/sync" } -thiserror = "*" +thiserror = "1" uuid = { version = "1", features = ["v4"], optional = true } vm_memory = { path = "../vm_memory" } zerocopy = { version = "0.7", features = ["derive"] } [dependencies.futures] -version = "*" +version = "0.3" default-features = false [dev-dependencies] diff --git a/e2e_tests/Cargo.toml b/e2e_tests/Cargo.toml index 8bb410606b..ffaa8f232d 100644 --- a/e2e_tests/Cargo.toml +++ b/e2e_tests/Cargo.toml @@ -5,16 +5,16 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dev-dependencies] -anyhow = "*" +anyhow = "1" fixture = { path = "fixture" } -libc = "*" +libc = "0.2" net_util = {path = "../net_util"} rand = "0.8" tempfile = "3" prebuilts = { path = "../prebuilts" } base = { path = "../base" } swap = { path= "../swap" } -serde_json = "*" +serde_json = "1" [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] net_sys = {path = "../net_sys"} diff --git a/e2e_tests/fixture/Cargo.toml b/e2e_tests/fixture/Cargo.toml index 966e895f93..b3e0260572 100644 --- a/e2e_tests/fixture/Cargo.toml +++ b/e2e_tests/fixture/Cargo.toml @@ -5,19 +5,19 @@ authors = ["The Chromium OS Authors"] edition = "2021" [dependencies] -anyhow = "*" +anyhow = "1" arch = { path = "../../arch" } -base = "*" +base = { path = "../../base" } crc32fast = "1.3" -cfg-if = "*" +cfg-if = "1" libc = "0.2.65" rand = "0.8" tempfile = "3" prebuilts = { path = "../../prebuilts" } -log = "*" +log = "0.4" shlex = "1.3" url = "2.3" delegate = {path = "../guest_under_test/rootfs/delegate"} -serde = {version = "*", features = ["derive"]} -serde_json = "*" +serde = {version = "1", features = ["derive"]} +serde_json = "1" readclock = { path = "../guest_under_test/rootfs/readclock" } diff --git a/e2e_tests/guest_under_test/rootfs/delegate/Cargo.toml b/e2e_tests/guest_under_test/rootfs/delegate/Cargo.toml index 0c733f0144..af7ffb827d 100644 --- a/e2e_tests/guest_under_test/rootfs/delegate/Cargo.toml +++ b/e2e_tests/guest_under_test/rootfs/delegate/Cargo.toml @@ -5,5 +5,5 @@ authors = ["The Chromium OS Authors"] edition = "2021" [dependencies] -serde = {version = "*", features = ["derive"]} -serde_json = "*" +serde = {version = "1", features = ["derive"]} +serde_json = "1" diff --git a/e2e_tests/guest_under_test/rootfs/readclock/Cargo.toml b/e2e_tests/guest_under_test/rootfs/readclock/Cargo.toml index 6f7f5a0c9c..725d5b2a5b 100644 --- a/e2e_tests/guest_under_test/rootfs/readclock/Cargo.toml +++ b/e2e_tests/guest_under_test/rootfs/readclock/Cargo.toml @@ -9,7 +9,7 @@ authors = ["The Chromium OS Authors"] edition = "2021" [dependencies] -anyhow = "*" -libc = "*" -serde = {version = "*", features = ["derive"]} -serde_json = "*" +anyhow = "1" +libc = "0.2" +serde = {version = "1", features = ["derive"]} +serde_json = "1" diff --git a/ext2/Cargo.toml b/ext2/Cargo.toml index 9ca2712a2f..b0f636e9b0 100644 --- a/ext2/Cargo.toml +++ b/ext2/Cargo.toml @@ -5,16 +5,16 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -anyhow = "*" +anyhow = "1" base = { path = "../base/" } -libc = "*" -uuid = { version = "*", features = ["v4"] } +libc = "0.2" +uuid = { version = "1", features = ["v4"] } zerocopy = "0.7.29" # >=0.7.29 is required for our 'AsBytes' -zerocopy-derive = "*" +zerocopy-derive = "0.7" [[example]] name = "mkfs" [dev-dependencies] -argh = "*" -tempfile = "*" +argh = "0.1" +tempfile = "3" diff --git a/fuse/Cargo.toml b/fuse/Cargo.toml index e256534a43..b41dc8fb6d 100644 --- a/fuse/Cargo.toml +++ b/fuse/Cargo.toml @@ -8,12 +8,12 @@ edition = "2021" path = "src/lib.rs" [dependencies] -base = "*" +base = { path = "../base" } bitflags = "2.2.1" crossbeam-utils = "0.8" cros_tracing = { path = "../cros_tracing" } enumn = "0.1.0" -libc = { version = "*", features = ["extra_traits"] } +libc = { version = "0.2", features = ["extra_traits"] } remain = "0.2" thiserror = "1.0.20" zerocopy = { version = "0.7", features = ["derive"] } diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 99b4a58022..2cd2ed17ca 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -13,13 +13,13 @@ disk = { path = "../disk" } fuse = { path = "../fuse" } hypervisor = { path = "../hypervisor" } kernel_loader = { path = "../kernel_loader" } -libc = "*" +libc = "0.2" rand = "0.8" base = { path = "../base" } tempfile = "3" usb_util = { path = "../usb_util" } vm_memory = { path = "../vm_memory" } -p9 = "*" +p9 = "0.2" rand_core = {version = "0.6", features = ["std"]} cfg-if = "1.0" diff --git a/gpu_display/Cargo.toml b/gpu_display/Cargo.toml index 651e638dfe..b9231a104b 100644 --- a/gpu_display/Cargo.toml +++ b/gpu_display/Cargo.toml @@ -16,13 +16,13 @@ android_display = [] android_display_stub = [] [dependencies] -anyhow = "*" -libc = "*" +anyhow = "1" +libc = "0.2" base = { path = "../base" } linux_input_sys = { path = "../linux_input_sys" } -remain = "*" -thiserror = "*" -cfg-if = "*" +remain = "0.2" +thiserror = "1" +cfg-if = "1" serde = { version = "1", features = [ "derive" ] } vm_control = { path = "../vm_control", features = ["gpu"] } zerocopy = { version = "0.7", features = ["derive"] } @@ -31,19 +31,19 @@ ash = { version = "0.37.0", optional = true } rand = { version = "0.8.5", optional = true } protos = { path = "../protos", optional = true } protobuf = { version = "3.2", optional = true } -euclid = { version = "*", optional = true } -smallvec = { version = "*", optional = true } +euclid = { version = "0.22", optional = true } +smallvec = { version = "1", optional = true } sync = { path = "../common/sync" } [target.'cfg(windows)'.dependencies] cros_tracing = { path = "../cros_tracing" } metrics = { path = "../metrics" } -num-traits = "*" -winapi = "*" +num-traits = "0.2" +winapi = "0.3" win_util = { path = "../win_util" } -smallvec = "*" +smallvec = "1" sync = { path = "../common/sync" } -euclid = "*" +euclid = "0.22" [build-dependencies] cc = "1.0.25" diff --git a/hypervisor/Cargo.toml b/hypervisor/Cargo.toml index 63fce37c58..c06626bdcc 100644 --- a/hypervisor/Cargo.toml +++ b/hypervisor/Cargo.toml @@ -12,7 +12,7 @@ gunyah = [] noncoherent-dma = [] [dependencies] -anyhow = "*" +anyhow = "1" bit_field = { path = "../bit_field" } bitflags = "2.2.1" cros_fdt = { path = "../cros_fdt" } @@ -20,7 +20,7 @@ data_model = { path = "../common/data_model" } downcast-rs = "1.2.0" enumn = "0.1.0" fnv = "1" -libc = "*" +libc = "0.2" memoffset = "0.6" once_cell = "1.7" serde = { version = "1", features = [ "derive" ] } @@ -37,8 +37,8 @@ hypervisor_test_macro = { path = "hypervisor_test_macro" } zerocopy = { version = "0.7", features = ["derive"] } [target.'cfg(windows)'.dependencies] -thiserror = "*" -winapi = "*" +thiserror = "1" +winapi = "0.3" win_util = { path = "../win_util" } [target.'cfg(windows)'.dependencies.windows] @@ -48,4 +48,4 @@ features = [ ] [target.'cfg(windows)'.dev-dependencies] -tempfile = "*" +tempfile = "3" diff --git a/jail/Cargo.toml b/jail/Cargo.toml index 6b1353f252..ed6c43db7a 100644 --- a/jail/Cargo.toml +++ b/jail/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" seccomp_trace = [] [dependencies] -anyhow = "*" +anyhow = "1" base = { path = "../base" } -libc = "*" -once_cell = "*" -serde = "*" +libc = "0.2" +once_cell = "1.7" +serde = "1" serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } -static_assertions = "*" +static_assertions = "1.1" zerocopy = { version = "0.7", features = ["derive"] } [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] @@ -25,4 +25,4 @@ which = "4" rayon = "1.5.3" [dev-dependencies] -cfg-if = "*" +cfg-if = "1" diff --git a/kernel_cmdline/Cargo.toml b/kernel_cmdline/Cargo.toml index aacbe05281..1dbdb1c7c9 100644 --- a/kernel_cmdline/Cargo.toml +++ b/kernel_cmdline/Cargo.toml @@ -4,9 +4,9 @@ version = "0.1.0" edition = "2021" [dependencies] -libc = "*" -remain = "*" -thiserror = "*" +libc = "0.2" +remain = "0.2" +thiserror = "1" [lib] path = "src/kernel_cmdline.rs" diff --git a/kernel_loader/Cargo.toml b/kernel_loader/Cargo.toml index ff246b1b3d..c18b212d2e 100644 --- a/kernel_loader/Cargo.toml +++ b/kernel_loader/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" [dependencies] data_model = { path = "../common/data_model" } -libc = "*" +libc = "0.2" base = { path = "../base" } lz4_flex = "0.11" -remain = "*" +remain = "0.2" resources = { path = "../resources" } -thiserror = "*" +thiserror = "1" vm_memory = { path = "../vm_memory" } zerocopy = { version = "0.7", features = ["derive"] } diff --git a/kvm/Cargo.toml b/kvm/Cargo.toml index 062a0bc81c..3fe807c095 100644 --- a/kvm/Cargo.toml +++ b/kvm/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] data_model = { path = "../common/data_model" } kvm_sys = { path = "../kvm_sys" } -libc = "*" +libc = "0.2" base = { path = "../base" } sync = { path = "../common/sync" } vm_memory = { path = "../vm_memory" } diff --git a/kvm_sys/Cargo.toml b/kvm_sys/Cargo.toml index 8ca49646a7..3d79d17e39 100644 --- a/kvm_sys/Cargo.toml +++ b/kvm_sys/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] data_model = { path = "../common/data_model" } -libc = "*" +libc = "0.2" base = { path = "../base" } zerocopy = {version = "0.7", features = ["derive"]} diff --git a/libcras_stub/Cargo.toml b/libcras_stub/Cargo.toml index 4962cd1644..80d0e5743e 100644 --- a/libcras_stub/Cargo.toml +++ b/libcras_stub/Cargo.toml @@ -9,4 +9,4 @@ path = "src/libcras.rs" [dependencies] audio_streams = "*" -serde = "*" +serde = "1" diff --git a/linux_input_sys/Cargo.toml b/linux_input_sys/Cargo.toml index 1e856f71b7..6036868c7f 100644 --- a/linux_input_sys/Cargo.toml +++ b/linux_input_sys/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] data_model = { path = "../common/data_model" } -libc = "*" +libc = "0.2" base = { path = "../base" } zerocopy = { version = "0.7", features = ["derive"] } diff --git a/media/ffmpeg/Cargo.toml b/media/ffmpeg/Cargo.toml index ccc247f18d..213d60a5f1 100644 --- a/media/ffmpeg/Cargo.toml +++ b/media/ffmpeg/Cargo.toml @@ -5,10 +5,10 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -anyhow = "*" -libc = "*" -thiserror = "*" +anyhow = "1" +libc = "0.2" +thiserror = "1" [build-dependencies] bindgen = "0.63" -pkg-config = "*" +pkg-config = "0.3" diff --git a/media/libvda/Cargo.toml b/media/libvda/Cargo.toml index afb8f5ffe5..2728678493 100644 --- a/media/libvda/Cargo.toml +++ b/media/libvda/Cargo.toml @@ -10,7 +10,7 @@ libvda-stub = [] [dependencies] enumn = "0.1.0" -libc = "*" +libc = "0.2" [build-dependencies] -pkg-config = "*" +pkg-config = "0.3" diff --git a/metrics/Cargo.toml b/metrics/Cargo.toml index 078509cdda..235c7db799 100644 --- a/metrics/Cargo.toml +++ b/metrics/Cargo.toml @@ -5,9 +5,9 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -anyhow = "*" +anyhow = "1" base = { path = "../base" } -cfg-if = "*" +cfg-if = "1" serde = { version = "1", features = ["derive"] } sync = { path = "../common/sync" } metrics_events = { path = "../metrics_events" } @@ -15,4 +15,4 @@ metrics_product = { path = "../vendor/generic/metrics", package = "metrics_gener [target.'cfg(windows)'.dependencies] chrono = { version = "0.4.34", default-features = false, features = ["now"] } -winapi = { version = "*" } +winapi = { version = "0.3" } diff --git a/metrics_events/Cargo.toml b/metrics_events/Cargo.toml index 498b09a711..fddca78f02 100644 --- a/metrics_events/Cargo.toml +++ b/metrics_events/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -anyhow = "*" -cfg-if = "*" +anyhow = "1" +cfg-if = "1" serde = { version = "1", features = ["derive"] } metrics_events_product = { path = "../vendor/generic/metrics_events", package = "metrics_events_generic" } diff --git a/net_sys/Cargo.toml b/net_sys/Cargo.toml index afcb578258..29cf2b5f63 100644 --- a/net_sys/Cargo.toml +++ b/net_sys/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" [dependencies] base = { path = "../base" } -libc = "*" +libc = "0.2" diff --git a/net_util/Cargo.toml b/net_util/Cargo.toml index 17902a9ee8..3d11c4145d 100644 --- a/net_util/Cargo.toml +++ b/net_util/Cargo.toml @@ -15,12 +15,12 @@ slirp-ring-capture = ["slirp"] base = { path = "../base" } cfg-if = "1.0.0" cros_async = { path = "../cros_async" } -libc = "*" +libc = "0.2" pcap-file = { version = "1.1.0", optional = true } -remain = "*" +remain = "0.2" serde = { version = "1", features = [ "derive" ] } -smallvec = "*" -thiserror = "*" +smallvec = "1" +thiserror = "1" virtio_sys = { path = "../virtio_sys" } zerocopy = { version = "0.7", features = ["derive"] } @@ -29,12 +29,12 @@ net_sys = { path = "../net_sys" } [target.'cfg(windows)'.dependencies] 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 } [build-dependencies] -anyhow = "*" +anyhow = "1" prebuilts = { path = "../prebuilts" } [dev-dependencies] -serde_json = "*" +serde_json = "1" diff --git a/perfetto/Cargo.toml b/perfetto/Cargo.toml index 13b052bd7b..f4ac3824de 100644 --- a/perfetto/Cargo.toml +++ b/perfetto/Cargo.toml @@ -13,14 +13,14 @@ default = ["openssl"] pure-rust-hashes = ["sha2"] [dependencies] -anyhow = "*" +anyhow = "1" base = { path = "../base" } cfg-if = "1.0.0" cros_tracing_types = { path = "../cros_tracing_types" } -openssl = { version = "*", optional = true } +openssl = { version = "0.10", optional = true } protobuf = "3.2" serde = { version = "1", features = [ "derive" ] } -sha2 = { version = "*", optional = true } +sha2 = { version = "0.10", optional = true } sync = { path = "../common/sync" } zerocopy = { version = "0.7", features = ["derive"] } diff --git a/prebuilts/Cargo.toml b/prebuilts/Cargo.toml index 13e703c9dc..f322ac80dd 100644 --- a/prebuilts/Cargo.toml +++ b/prebuilts/Cargo.toml @@ -5,6 +5,6 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -anyhow = "*" -cfg-if = "*" +anyhow = "1" +cfg-if = "1" named-lock = "0.3" diff --git a/resources/Cargo.toml b/resources/Cargo.toml index f6d874a771..583980929f 100644 --- a/resources/Cargo.toml +++ b/resources/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -libc = "*" +libc = "0.2" base = { path = "../base" } serde = { version = "1", features = ["derive"] } -remain = "*" -thiserror = "*" +remain = "0.2" +thiserror = "1" diff --git a/riscv64/Cargo.toml b/riscv64/Cargo.toml index c76ca16ec1..4ee165431e 100644 --- a/riscv64/Cargo.toml +++ b/riscv64/Cargo.toml @@ -15,12 +15,12 @@ gdbstub = { version = "0.7.0", optional = true } gdbstub_arch = { version = "0.3.0", optional = true } hypervisor = { path = "../hypervisor" } kernel_cmdline = { path = "../kernel_cmdline" } -libc = "*" +libc = "0.2" rand = "0.8" -remain = "*" +remain = "0.2" resources = { path = "../resources" } sync = { path = "../common/sync" } -thiserror = "*" +thiserror = "1" base = { path = "../base" } vm_control = { path = "../vm_control" } vm_memory = { path = "../vm_memory" } diff --git a/sandbox/Cargo.toml b/sandbox/Cargo.toml index 6070e5a872..f5876925f8 100644 --- a/sandbox/Cargo.toml +++ b/sandbox/Cargo.toml @@ -9,8 +9,8 @@ base = { path = "../base" } [target.'cfg(windows)'.dependencies] win_util = { path = "../win_util"} -winapi = { version = "*", features = ["everything", "std", "impl-default"] } +winapi = { version = "0.3", features = ["everything", "std", "impl-default"] } [build-dependencies] -anyhow = "*" +anyhow = "1" prebuilts = { path = "../prebuilts" } diff --git a/serde_keyvalue/Cargo.toml b/serde_keyvalue/Cargo.toml index f14133c182..bddb40b56f 100644 --- a/serde_keyvalue/Cargo.toml +++ b/serde_keyvalue/Cargo.toml @@ -12,7 +12,7 @@ argh = { version = "0.1.7", optional = true } serde_keyvalue_derive = { path = "serde_keyvalue_derive", optional = true } # provided by ebuild serde = "1" thiserror = { version = "1.0.20" } -remain = "*" +remain = "0.2" num-traits = "0.2" nom = { version = "7.1.0", features = ["alloc"] } diff --git a/swap/Cargo.toml b/swap/Cargo.toml index 48c44d99fc..fb58e797d6 100644 --- a/swap/Cargo.toml +++ b/swap/Cargo.toml @@ -17,23 +17,23 @@ trace_marker = ["cros_tracing/trace_marker"] enable = ["userfaultfd", "userfaultfd-sys"] [dependencies] -anyhow = "*" +anyhow = "1" base = { path = "../base" } -cfg-if = "*" +cfg-if = "1" cros_tracing = { path = "../cros_tracing" } jail = { path = "../jail" } metrics = { path = "../metrics" } -num_cpus = "*" -once_cell = "*" -remain = "*" +num_cpus = "1" +once_cell = "1.7" +remain = "0.2" serde = { version = "1", features = ["derive"] } -serde_json = "*" +serde_json = "1" sync = { path = "../common/sync" } # provided by ebuild -thiserror = "*" +thiserror = "1" vm_memory = { path = "../vm_memory" } [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] -libc = "*" +libc = "0.2" [target.'cfg(target_os="linux")'.dependencies] userfaultfd = { version = "0.8.1", optional = true } @@ -41,4 +41,4 @@ userfaultfd-sys = { version = "0.5.0", optional = true } [dev-dependencies] libtest-mimic = "0.6" -tempfile = "*" +tempfile = "3" diff --git a/third_party/vmm_vhost/Cargo.toml b/third_party/vmm_vhost/Cargo.toml index cbcc20b88e..304817e648 100644 --- a/third_party/vmm_vhost/Cargo.toml +++ b/third_party/vmm_vhost/Cargo.toml @@ -14,20 +14,20 @@ edition = "2021" default = [] [dependencies] -anyhow = "*" +anyhow = "1" base = { path = "../../base" } bitflags = "2.3" cfg-if = "1.0.0" enumn = "0.1.0" libc = ">=0.2.39" -remain = "*" +remain = "0.2" thiserror = { version = "1.0.20" } zerocopy = { version = "0.7", features = ["derive"] } [target.'cfg(windows)'.dependencies] serde = { version = "1", features = [ "derive" ] } -serde_json = "*" +serde_json = "1" tube_transporter = { path = "../../tube_transporter" } [dev-dependencies] -tempfile = "*" +tempfile = "3" diff --git a/tools/contrib/cros_tracing_analyser/Cargo.toml b/tools/contrib/cros_tracing_analyser/Cargo.toml index 225ead0683..82f5449056 100644 --- a/tools/contrib/cros_tracing_analyser/Cargo.toml +++ b/tools/contrib/cros_tracing_analyser/Cargo.toml @@ -7,11 +7,11 @@ edition = "2021" [dependencies] anyhow = "1.0.75" -argh = "*" +argh = "0.1" libtracecmd = "0.2" -log = "*" +log = "0.4" once_cell = "1.18.0" -serde = { version = "*", features = ["derive"] } -serde_json = "*" +serde = { version = "1", features = ["derive"] } +serde_json = "1" [workspace] diff --git a/tools/contrib/crosvmdump/Cargo.toml b/tools/contrib/crosvmdump/Cargo.toml index 70a76dd7b7..dfe3755431 100644 --- a/tools/contrib/crosvmdump/Cargo.toml +++ b/tools/contrib/crosvmdump/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rayon = "*" -anyhow = "*" +rayon = "1" +anyhow = "1" [workspace] diff --git a/tools/contrib/memstats_chart/Cargo.toml b/tools/contrib/memstats_chart/Cargo.toml index 5c9bad609e..bddc26ed5f 100644 --- a/tools/contrib/memstats_chart/Cargo.toml +++ b/tools/contrib/memstats_chart/Cargo.toml @@ -6,13 +6,13 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "*" -argh = "*" -ctrlc = "*" -env_logger = "*" -log = "*" -regex = "*" -serde = { version = "*", features = ["derive"] } -serde_json = "*" +anyhow = "1" +argh = "0.1" +ctrlc = "3" +env_logger = "0.9" +log = "0.4" +regex = "1.3" +serde = { version = "1", features = ["derive"] } +serde_json = "1" [workspace] diff --git a/tools/contrib/vcpu_blocker_analyzer/Cargo.toml b/tools/contrib/vcpu_blocker_analyzer/Cargo.toml index 8744ce9bd0..31c44d3ebe 100644 --- a/tools/contrib/vcpu_blocker_analyzer/Cargo.toml +++ b/tools/contrib/vcpu_blocker_analyzer/Cargo.toml @@ -11,12 +11,12 @@ argh = "0.1" env_logger = "0.10" log = "0.4" regex = "1.3" -serde = { version = "*", features = ["derive"] } +serde = { version = "1", features = ["derive"] } serde_json = "1" once_cell = "1" [dev-dependencies] -rstest = "*" +rstest = "0.19" [workspace] diff --git a/tools/impl/catapult_converter/Cargo.toml b/tools/impl/catapult_converter/Cargo.toml index b645ae775a..aab66d355e 100644 --- a/tools/impl/catapult_converter/Cargo.toml +++ b/tools/impl/catapult_converter/Cargo.toml @@ -4,9 +4,8 @@ version = "0.1.0" authors = ["The Chromium OS Authors"] edition = "2021" - [dependencies] -serde_json = "*" -serde = { version = "*", features = ["derive"] } -argh = "*" +serde_json = "1" +serde = { version = "1", features = ["derive"] } +argh = "0.1" uuid = {version = "1", features = ["v4"]} diff --git a/tube_transporter/Cargo.toml b/tube_transporter/Cargo.toml index 7759b32ad3..79cc20132f 100644 --- a/tube_transporter/Cargo.toml +++ b/tube_transporter/Cargo.toml @@ -10,8 +10,8 @@ base = { path = "../base" } rand = "0.8" thiserror = "1.0.20" serde = { version = "1", features = [ "derive" ] } -serde_json = "*" +serde_json = "1" [target.'cfg(windows)'.dependencies] win_util = { path = "../win_util"} -winapi = "*" +winapi = "0.3" diff --git a/usb_util/Cargo.toml b/usb_util/Cargo.toml index 3e36ecfeef..aa92d38988 100644 --- a/usb_util/Cargo.toml +++ b/usb_util/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" [dependencies] static_assertions = "1.1" data_model = { path = "../common/data_model" } -libc = "*" -remain = "*" -thiserror = "*" +libc = "0.2" +remain = "0.2" +thiserror = "1" base = { path = "../base" } usb_sys = { path = "../usb_sys" } sync = { path = "../common/sync" } diff --git a/vendor/generic/crypto/Cargo.toml b/vendor/generic/crypto/Cargo.toml index 1453b3875c..9832fe301b 100644 --- a/vendor/generic/crypto/Cargo.toml +++ b/vendor/generic/crypto/Cargo.toml @@ -11,7 +11,7 @@ rustcrypto = [] anyhow = "1.0.32" base = { path = "../../../base" } serde = { version = "1", features = ["derive"] } -serde_json = "*" +serde_json = "1" zeroize = "1.5.7" [dev-dependencies] diff --git a/vendor/generic/metrics/Cargo.toml b/vendor/generic/metrics/Cargo.toml index b5f57f8b5c..cdc9bbf174 100644 --- a/vendor/generic/metrics/Cargo.toml +++ b/vendor/generic/metrics/Cargo.toml @@ -10,6 +10,6 @@ experimental = [] collect = [] [dependencies] -anyhow = "*" +anyhow = "1" base = { path = "../../../base" } metrics_events = { path = "../../../metrics_events" } diff --git a/vhost/Cargo.toml b/vhost/Cargo.toml index ab013563c3..8c8360f608 100644 --- a/vhost/Cargo.toml +++ b/vhost/Cargo.toml @@ -6,10 +6,10 @@ edition = "2021" [dependencies] static_assertions = "1.1" -libc = "*" +libc = "0.2" net_util = { path = "../net_util" } base = { path = "../base" } -remain = "*" -thiserror = "*" +remain = "0.2" +thiserror = "1" virtio_sys = { path = "../virtio_sys" } vm_memory = { path = "../vm_memory" } diff --git a/vm_control/Cargo.toml b/vm_control/Cargo.toml index 6c2e482c79..6ca9f30cf3 100644 --- a/vm_control/Cargo.toml +++ b/vm_control/Cargo.toml @@ -13,28 +13,28 @@ registered_events = ["balloon", "protos/registered_events"] swap = ["swap/enable"] [dependencies] -anyhow = "*" +anyhow = "1" balloon_control = { path = "../common/balloon_control" } base = { path = "../base" } -cfg-if = "*" +cfg-if = "1" crypto = { path = "../vendor/generic/crypto", package = "crypto_generic" } gdbstub = { version = "0.7.0", optional = true } gdbstub_arch = { version = "0.3.0", optional = true } hypervisor = { path = "../hypervisor" } -libc = "*" +libc = "0.2" once_cell = "1.7.2" protos = { path = "../protos", optional = true } -remain = "*" +remain = "0.2" resources = { path = "../resources" } rutabaga_gfx = { path = "../rutabaga_gfx" } serde = { version = "1", features = ["derive"] } -serde_json = "*" +serde_json = "1" serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } swap = { path = "../swap" } sync = { path = "../common/sync" } -thiserror = "*" +thiserror = "1" vm_control_product = { path = "../vendor/generic/vm_control", package = "vm_control_product" } vm_memory = { path = "../vm_memory" } [target.'cfg(windows)'.dependencies] -winapi = "*" +winapi = "0.3" diff --git a/vm_memory/Cargo.toml b/vm_memory/Cargo.toml index f1738a5eaa..164837e055 100644 --- a/vm_memory/Cargo.toml +++ b/vm_memory/Cargo.toml @@ -10,14 +10,14 @@ anyhow = "1.0.32" cfg-if = "1.0.0" cros_async = { path = "../cros_async" } data_model = { path = "../common/data_model" } -libc = "*" +libc = "0.2" lz4_flex = "0.11" base = { path = "../base" } bitflags = "2.2.1" -remain = "*" +remain = "0.2" serde = { version = "1", features = [ "derive" ] } -serde_json = "*" -thiserror = "*" +serde_json = "1" +thiserror = "1" zerocopy = { version = "0.7", features = ["derive"] } [dev-dependencies] diff --git a/win_audio/Cargo.toml b/win_audio/Cargo.toml index ea20974210..291520235a 100644 --- a/win_audio/Cargo.toml +++ b/win_audio/Cargo.toml @@ -10,16 +10,16 @@ audio_streams = { path = "../common/audio_streams"} audio_util = { path = "../audio_util" } base = { path = "../base" } cros_async = { path = "../cros_async" } -libc = "*" +libc = "0.2" win_util = { path = "../win_util" } -winapi = "*" -wio = "*" +winapi = "0.3" +wio = "0.2" sync = { path = "../common/sync" } -thiserror = "*" +thiserror = "1" metrics = { path = "../metrics"} once_cell = "1.7.2" [build-dependencies] -anyhow = "*" +anyhow = "1" prebuilts = { path = "../prebuilts" } diff --git a/win_util/Cargo.toml b/win_util/Cargo.toml index ee332268c9..55452749ef 100644 --- a/win_util/Cargo.toml +++ b/win_util/Cargo.toml @@ -5,15 +5,15 @@ authors = ["The ChromiumOS Authors"] edition = "2021" [dependencies] -anyhow = "*" +anyhow = "1" enumn = "0.1.0" -libc = "*" +libc = "0.2" once_cell = "1.7" serde = { version = "1", features = [ "derive" ] } zeroize = "1.5.7" [target.'cfg(windows)'.dependencies] -winapi = { version = "*", features = ["everything", "std", "impl-default"] } +winapi = { version = "0.3", features = ["everything", "std", "impl-default"] } [dependencies.windows] version = "0.39.0" diff --git a/x86_64/Cargo.toml b/x86_64/Cargo.toml index 963848bb1d..0568446c34 100644 --- a/x86_64/Cargo.toml +++ b/x86_64/Cargo.toml @@ -12,7 +12,7 @@ swap = ["swap/enable"] [dependencies] acpi_tables = {path = "../acpi_tables" } arch = { path = "../arch" } -anyhow = "*" +anyhow = "1" cfg-if = "1.0.0" chrono = { version = "0.4.34", default-features = false } cros_fdt = { path = "../cros_fdt" } @@ -22,14 +22,14 @@ hypervisor = { path = "../hypervisor" } jail = { path = "../jail" } kernel_cmdline = { path = "../kernel_cmdline" } kernel_loader = { path = "../kernel_loader" } -libc = "*" +libc = "0.2" memoffset = "0.6" once_cell = "1.7.2" rand = "0.8" -remain = "*" +remain = "0.2" resources = { path = "../resources" } sync = { path = "../common/sync" } -thiserror = "*" +thiserror = "1" uuid = { version = "1", features = ["v4"] } base = { path = "../base" } swap = { path = "../swap" }