From a55cbd0d65944a4738e2ff5b20b86537f45ca2f3 Mon Sep 17 00:00:00 2001 From: utam0k Date: Mon, 16 May 2022 21:33:08 +0900 Subject: [PATCH] put the runtime feature into the oci-spec-rs crate. Signed-off-by: utam0k --- crates/libcgroups/Cargo.toml | 4 ++-- crates/libcontainer/Cargo.toml | 4 ++-- crates/youki/Cargo.toml | 2 +- tests/rust-integration-tests/runtimetest/Cargo.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/libcgroups/Cargo.toml b/crates/libcgroups/Cargo.toml index 974aed4c7..bcbdf3f34 100644 --- a/crates/libcgroups/Cargo.toml +++ b/crates/libcgroups/Cargo.toml @@ -25,7 +25,7 @@ nix = "0.24.1" procfs = "0.12.0" log = "0.4" anyhow = "1.0" -oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e" } +oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e", features = ["runtime"] } dbus = { version = "0.9.5", optional = true } fixedbitset = "0.4.1" serde = { version = "1.0", features = ["derive"] } @@ -35,7 +35,7 @@ errno = { version = "0.2.8", optional = true } libc = { version = "0.2.125", optional = true } [dev-dependencies] -oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e", features = ["proptests"] } +oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e", features = ["proptests", "runtime"] } quickcheck = "1" mockall = { version = "0.11.1", features = [] } clap = "3.1.18" diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index 7ddb88a1f..a42a97ef2 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -29,7 +29,7 @@ libc = "0.2.125" log = "0.4" mio = { version = "0.8.3", features = ["os-ext", "os-poll"] } nix = "0.24.1" -oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e" } +oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e", features = ["runtime"] } path-clean = "0.1.0" procfs = "0.12.0" prctl = "1.0.0" @@ -43,7 +43,7 @@ wasmer = { version = "2.2.0", optional = true } wasmer-wasi = { version = "2.2.0", optional = true } [dev-dependencies] -oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e", features = ["proptests"] } +oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e", features = ["proptests", "runtime"] } quickcheck = "1" serial_test = "0.6.0" rand = "0.8.5" diff --git a/crates/youki/Cargo.toml b/crates/youki/Cargo.toml index 01a70579e..19253f444 100644 --- a/crates/youki/Cargo.toml +++ b/crates/youki/Cargo.toml @@ -25,7 +25,7 @@ libcontainer = { version = "0.0.3", path = "../libcontainer" } liboci-cli = { version = "0.0.3", path = "../liboci-cli" } log = { version = "0.4", features = ["std"]} nix = "0.24.1" -oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e" } +oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e" , features = ["runtime"] } once_cell = "1.10.0" pentacle = "1.0.0" procfs = "0.12.0" diff --git a/tests/rust-integration-tests/runtimetest/Cargo.toml b/tests/rust-integration-tests/runtimetest/Cargo.toml index c0a3b3cc8..990fda6a0 100644 --- a/tests/rust-integration-tests/runtimetest/Cargo.toml +++ b/tests/rust-integration-tests/runtimetest/Cargo.toml @@ -4,5 +4,5 @@ version = "0.0.1" edition = "2021" [dependencies] -oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e" } +oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e", features = ["runtime"] } nix = "0.24.1"