From 1bed5dfdbe7cf03587154ca499f3b8c6cf42d77e Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Wed, 4 May 2022 12:45:15 +0530 Subject: [PATCH 1/2] build: Relax vm-memory dependency This allows the use of newer versions of vm-memory and matches with other crates (e.g. vhost, vhost-user-backend, etc) who also have such a relaxed vm-memory dependency. Signed-off-by: Viresh Kumar --- gpio/Cargo.toml | 4 ++-- i2c/Cargo.toml | 4 ++-- rng/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gpio/Cargo.toml b/gpio/Cargo.toml index 07cc8b2..22353ea 100644 --- a/gpio/Cargo.toml +++ b/gpio/Cargo.toml @@ -21,7 +21,7 @@ vhost = { version = "0.4", features = ["vhost-user-slave"] } vhost-user-backend = "0.3" virtio-bindings = ">=0.1" virtio-queue = "0.2" -vm-memory = "0.7" +vm-memory = ">=0.7" vmm-sys-util = "=0.9.0" [target.'cfg(target_env = "gnu")'.dependencies] @@ -29,4 +29,4 @@ libgpiod = { git = "https://github.com/vireshk/libgpiod" } [dev-dependencies] virtio-queue = { version = "0.2", features = ["test-utils"] } -vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = ">=0.7.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/i2c/Cargo.toml b/i2c/Cargo.toml index 64fac53..a4c9e6e 100644 --- a/i2c/Cargo.toml +++ b/i2c/Cargo.toml @@ -21,9 +21,9 @@ vhost = { version = "0.4", features = ["vhost-user-slave"] } vhost-user-backend = "0.3" virtio-bindings = ">=0.1" virtio-queue = "0.2" -vm-memory = "0.7" +vm-memory = ">=0.7" vmm-sys-util = "=0.9.0" [dev-dependencies] virtio-queue = { version = "0.2", features = ["test-utils"] } -vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = ">=0.7.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/rng/Cargo.toml b/rng/Cargo.toml index 5adf3ff..c6a0a08 100644 --- a/rng/Cargo.toml +++ b/rng/Cargo.toml @@ -27,4 +27,4 @@ vmm-sys-util = ">=0.9.0" [dev-dependencies] virtio-queue = { version = "0.2", features = ["test-utils"] } -vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = ">=0.7.0", features = ["backend-mmap", "backend-atomic"] } From 0dd4696d8eaf8fc3b92957bfdba28d40aed4e35e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 7 May 2022 00:16:06 +0000 Subject: [PATCH 2/2] build(deps): bump proc-macro2 from 1.0.37 to 1.0.38 Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.37 to 1.0.38. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.37...1.0.38) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 501a0af..cb9848f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -188,9 +188,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.124" +version = "0.2.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a41fed9d98f27ab1c6d161da622a4fa35e8a54a8adc24bbf3ddd0ef70b0e50" +checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b" [[package]] name = "libgpiod" @@ -263,9 +263,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" +checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa" dependencies = [ "unicode-xid", ]