diff --git a/Cargo.lock b/Cargo.lock index 05d6897fd..b196dd0ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2377,15 +2377,17 @@ dependencies = [ [[package]] name = "oci-spec" -version = "0.6.5" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e423c4f827362c0d8d8da4b1f571270f389ebde73bcd3240a3d23c6d6f61d0f0" +checksum = "bdf88ddc01cc6bccbe1044adb6a29057333f523deadcb4953c011a73158cfa5e" dependencies = [ "derive_builder 0.20.0", "getset", "quickcheck", "serde", "serde_json", + "strum", + "strum_macros", "thiserror", ] @@ -3715,6 +3717,25 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" +[[package]] +name = "strum" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" + +[[package]] +name = "strum_macros" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.58", +] + [[package]] name = "syn" version = "1.0.109" diff --git a/crates/libcgroups/Cargo.toml b/crates/libcgroups/Cargo.toml index 868eaf471..7366cc25f 100644 --- a/crates/libcgroups/Cargo.toml +++ b/crates/libcgroups/Cargo.toml @@ -22,7 +22,7 @@ cgroupsv2_devices = ["rbpf", "libbpf-sys", "errno", "libc", "nix/dir"] [dependencies] nix = { version = "0.28.0", features = ["signal", "user", "fs"] } procfs = "0.16.0" -oci-spec = { version = "~0.6.4", features = ["runtime"] } +oci-spec = { version = "~0.6.7", features = ["runtime"] } fixedbitset = "0.5.7" serde = { version = "1.0", features = ["derive"] } rbpf = { version = "0.2.0", optional = true } @@ -34,7 +34,7 @@ tracing = { version = "0.1.40", features = ["attributes"] } [dev-dependencies] anyhow = "1.0" -oci-spec = { version = "~0.6.4", features = ["proptests", "runtime"] } +oci-spec = { version = "~0.6.7", features = ["proptests", "runtime"] } quickcheck = "1" mockall = { version = "0.12.1", features = [] } clap = "4.1.6" diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index 89e3bf4d2..28f593f53 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -39,7 +39,7 @@ nix = { version = "0.28.0", features = [ "term", "hostname", ] } -oci-spec = { version = "~0.6.4", features = ["runtime"] } +oci-spec = { version = "~0.6.7", features = ["runtime"] } once_cell = "1.19.0" procfs = "0.16.0" prctl = "1.0.0" @@ -56,7 +56,7 @@ safe-path = "0.1.0" nc = "0.8.21" [dev-dependencies] -oci-spec = { version = "~0.6.4", features = ["proptests", "runtime"] } +oci-spec = { version = "~0.6.7", features = ["proptests", "runtime"] } quickcheck = "1" serial_test = "3.1.1" tempfile = "3" diff --git a/tests/contest/contest/Cargo.toml b/tests/contest/contest/Cargo.toml index 1347aaa27..aa36b55aa 100644 --- a/tests/contest/contest/Cargo.toml +++ b/tests/contest/contest/Cargo.toml @@ -11,7 +11,7 @@ libcgroups = { path = "../../../crates/libcgroups" } libcontainer = { path = "../../../crates/libcontainer" } nix = "0.28.0" num_cpus = "1.16" -oci-spec = { version = "0.6.4", features = ["runtime"] } +oci-spec = { version = "0.6.7", features = ["runtime"] } once_cell = "1.19.0" pnet_datalink = "0.35.0" procfs = "0.16.0" diff --git a/tests/contest/runtimetest/Cargo.toml b/tests/contest/runtimetest/Cargo.toml index 2fc8296de..b917384d9 100644 --- a/tests/contest/runtimetest/Cargo.toml +++ b/tests/contest/runtimetest/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.1" edition = "2021" [dependencies] -oci-spec = { version = "0.6.4", features = ["runtime"] } +oci-spec = { version = "0.6.7", features = ["runtime"] } nix = "0.28.0" anyhow = "1.0" libc = "0.2.155" # TODO (YJDoc2) upgrade to latest