From c2e566c493f2d3179c5d9f8d8e35a84e72bcb4c6 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Tue, 15 Nov 2022 04:36:05 +0530 Subject: [PATCH] Switch to caret versions Specify the dependencies with caret versions. Fixes: rust-vmm/community#131 Signed-off-by: Viresh Kumar --- crates/gpio/Cargo.toml | 18 +++++++++--------- crates/i2c/Cargo.toml | 18 +++++++++--------- crates/rng/Cargo.toml | 22 +++++++++++----------- crates/vsock/Cargo.toml | 16 ++++++++-------- 4 files changed, 37 insertions(+), 37 deletions(-) diff --git a/crates/gpio/Cargo.toml b/crates/gpio/Cargo.toml index 28b10e0..5488a2b 100644 --- a/crates/gpio/Cargo.toml +++ b/crates/gpio/Cargo.toml @@ -12,21 +12,21 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -clap = { version = ">=3.0", features = ["derive"] } -env_logger = ">=0.9" -libc = ">=0.2.95" -log = ">=0.4.6" +clap = { version = "4.0", features = ["derive"] } +env_logger = "0.9" +libc = "0.2" +log = "0.4" thiserror = "1.0" vhost = { version = "0.5", features = ["vhost-user-slave"] } -vhost-user-backend = "0.7.0" -virtio-bindings = ">=0.1" +vhost-user-backend = "0.7" +virtio-bindings = "0.1" virtio-queue = "0.6" -vm-memory = ">=0.8" -vmm-sys-util = "=0.10.0" +vm-memory = "0.9" +vmm-sys-util = "0.10" [target.'cfg(target_env = "gnu")'.dependencies] libgpiod = { git = "https://github.com/vireshk/libgpiod" } [dev-dependencies] virtio-queue = { version = "0.6", features = ["test-utils"] } -vm-memory = { version = ">=0.8.0", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.9", features = ["backend-mmap", "backend-atomic"] } diff --git a/crates/i2c/Cargo.toml b/crates/i2c/Cargo.toml index d42693a..7f58831 100644 --- a/crates/i2c/Cargo.toml +++ b/crates/i2c/Cargo.toml @@ -12,18 +12,18 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -clap = { version = ">=3.0", features = ["derive"] } -env_logger = ">=0.9" -libc = ">=0.2.95" -log = ">=0.4.6" +clap = { version = "4.0", features = ["derive"] } +env_logger = "0.9" +libc = "0.2" +log = "0.4" thiserror = "1.0" vhost = { version = "0.5", features = ["vhost-user-slave"] } -vhost-user-backend = "0.7.0" -virtio-bindings = ">=0.1" +vhost-user-backend = "0.7" +virtio-bindings = "0.1" virtio-queue = "0.6" -vm-memory = ">=0.8" -vmm-sys-util = "=0.10.0" +vm-memory = "0.9" +vmm-sys-util = "0.10" [dev-dependencies] virtio-queue = { version = "0.6", features = ["test-utils"] } -vm-memory = { version = ">=0.8.0", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.9", features = ["backend-mmap", "backend-atomic"] } diff --git a/crates/rng/Cargo.toml b/crates/rng/Cargo.toml index 0d090a5..e52b1b0 100644 --- a/crates/rng/Cargo.toml +++ b/crates/rng/Cargo.toml @@ -10,21 +10,21 @@ license = "Apache-2.0 OR BSD-3-Clause" edition = "2021" [dependencies] -clap = { version = ">=3.0", features = ["derive"] } -env_logger = ">=0.9" +clap = { version = "4.0", features = ["derive"] } +env_logger = "0.9" epoll = "4.3" -libc = ">=0.2.95" -log = ">=0.4.6" -rand = ">=0.8.5" -tempfile = "3.2.0" +libc = "0.2" +log = "0.4" +rand = "0.8.5" +tempfile = "3.2" thiserror = "1.0" vhost = { version = "0.5", features = ["vhost-user-slave"] } -vhost-user-backend = "0.7.0" -virtio-bindings = ">=0.1" +vhost-user-backend = "0.7" +virtio-bindings = "0.1" virtio-queue = "0.6" -vm-memory = ">=0.8" -vmm-sys-util = "=0.10.0" +vm-memory = "0.9" +vmm-sys-util = "0.10" [dev-dependencies] virtio-queue = { version = "0.6", features = ["test-utils"] } -vm-memory = { version = ">=0.8.0", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.9", features = ["backend-mmap", "backend-atomic"] } diff --git a/crates/vsock/Cargo.toml b/crates/vsock/Cargo.toml index 304a328..6b8923b 100644 --- a/crates/vsock/Cargo.toml +++ b/crates/vsock/Cargo.toml @@ -11,19 +11,19 @@ edition = "2018" [dependencies] byteorder = "1" -clap = { version = ">=3.0", features = ["derive"] } -env_logger = ">=0.9" +clap = { version = "4.0", features = ["derive"] } +env_logger = "0.9" epoll = "4.3.1" futures = { version = "0.3", features = ["thread-pool"] } -log = ">=0.4.6" +log = "0.4" thiserror = "1.0" vhost = { version = "0.5", features = ["vhost-user-slave"] } -vhost-user-backend = "0.7.0" -virtio-bindings = ">=0.1" +vhost-user-backend = "0.7" +virtio-bindings = "0.1" virtio-queue = "0.6" -virtio-vsock = "0.1.0" -vm-memory = ">=0.8" -vmm-sys-util = "=0.10.0" +virtio-vsock = "0.1" +vm-memory = "0.9" +vmm-sys-util = "0.10" [dev-dependencies] virtio-queue = { version = "0.6", features = ["test-utils"] }