mirror of
https://github.com/containers/youki
synced 2024-11-26 06:08:07 +01:00
Bump oci-spec to 0.7.0 (#2934)
* Bump oci-spec from 0.6.8 to 0.7.0 Bumps [oci-spec](https://github.com/containers/oci-spec-rs) from 0.6.8 to 0.7.0. - [Release notes](https://github.com/containers/oci-spec-rs/releases) - [Changelog](https://github.com/containers/oci-spec-rs/blob/main/release.md) - [Commits](https://github.com/containers/oci-spec-rs/compare/v0.6.8...v0.7.0) --- updated-dependencies: - dependency-name: oci-spec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump oci-spec to 0.7.0 Signed-off-by: kiokuless <110003596+kiokuless@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
2afe665feb
commit
e0d53a8e81
5
Cargo.lock
generated
5
Cargo.lock
generated
@ -2450,13 +2450,12 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "oci-spec"
|
name = "oci-spec"
|
||||||
version = "0.6.8"
|
version = "0.7.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3f5a3fe998d50101ae009351fec56d88a69f4ed182e11000e711068c2f5abf72"
|
checksum = "5cee185ce7cf1cce45e194e34cd87c0bad7ff0aa2e8917009a2da4f7b31fb363"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"derive_builder 0.20.1",
|
"derive_builder 0.20.1",
|
||||||
"getset",
|
"getset",
|
||||||
"once_cell",
|
|
||||||
"quickcheck",
|
"quickcheck",
|
||||||
"regex",
|
"regex",
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -22,7 +22,7 @@ cgroupsv2_devices = ["rbpf", "libbpf-sys", "errno", "libc", "nix/dir"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
nix = { version = "0.28.0", features = ["signal", "user", "fs"] }
|
nix = { version = "0.28.0", features = ["signal", "user", "fs"] }
|
||||||
procfs = "0.16.0"
|
procfs = "0.16.0"
|
||||||
oci-spec = { version = "~0.6.8", features = ["runtime"] }
|
oci-spec = { version = "~0.7.0", features = ["runtime"] }
|
||||||
fixedbitset = "0.5.7"
|
fixedbitset = "0.5.7"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
rbpf = { version = "0.3.0", optional = true }
|
rbpf = { version = "0.3.0", optional = true }
|
||||||
@ -34,7 +34,7 @@ tracing = { version = "0.1.40", features = ["attributes"] }
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
oci-spec = { version = "~0.6.8", features = ["proptests", "runtime"] }
|
oci-spec = { version = "~0.7.0", features = ["proptests", "runtime"] }
|
||||||
quickcheck = "1"
|
quickcheck = "1"
|
||||||
mockall = { version = "0.13.0", features = [] }
|
mockall = { version = "0.13.0", features = [] }
|
||||||
clap = "4.1.6"
|
clap = "4.1.6"
|
||||||
|
@ -37,7 +37,7 @@ nix = { version = "0.28.0", features = [
|
|||||||
"term",
|
"term",
|
||||||
"hostname",
|
"hostname",
|
||||||
] }
|
] }
|
||||||
oci-spec = { version = "0.6.8", features = ["runtime"] }
|
oci-spec = { version = "0.7.0", features = ["runtime"] }
|
||||||
once_cell = "1.19.0"
|
once_cell = "1.19.0"
|
||||||
procfs = "0.16.0"
|
procfs = "0.16.0"
|
||||||
prctl = "1.0.0"
|
prctl = "1.0.0"
|
||||||
@ -53,7 +53,7 @@ safe-path = "0.1.0"
|
|||||||
nc = "0.9.3"
|
nc = "0.9.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
oci-spec = { version = "~0.6.8", features = ["proptests", "runtime"] }
|
oci-spec = { version = "~0.7.0", features = ["proptests", "runtime"] }
|
||||||
quickcheck = "1"
|
quickcheck = "1"
|
||||||
serial_test = "3.1.1"
|
serial_test = "3.1.1"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
@ -70,6 +70,7 @@ fn translate_arch(arch: Arch) -> ScmpArch {
|
|||||||
Arch::ScmpArchPpc64le => ScmpArch::Ppc64Le,
|
Arch::ScmpArchPpc64le => ScmpArch::Ppc64Le,
|
||||||
Arch::ScmpArchS390 => ScmpArch::S390,
|
Arch::ScmpArchS390 => ScmpArch::S390,
|
||||||
Arch::ScmpArchS390x => ScmpArch::S390X,
|
Arch::ScmpArchS390x => ScmpArch::S390X,
|
||||||
|
Arch::ScmpArchRiscv64 => ScmpArch::Riscv64,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,6 +90,7 @@ fn translate_action(action: LinuxSeccompAction, errno: Option<u32>) -> Result<Sc
|
|||||||
LinuxSeccompAction::ScmpActKillProcess => ScmpAction::KillProcess,
|
LinuxSeccompAction::ScmpActKillProcess => ScmpAction::KillProcess,
|
||||||
LinuxSeccompAction::ScmpActNotify => ScmpAction::Notify,
|
LinuxSeccompAction::ScmpActNotify => ScmpAction::Notify,
|
||||||
LinuxSeccompAction::ScmpActLog => ScmpAction::Log,
|
LinuxSeccompAction::ScmpActLog => ScmpAction::Log,
|
||||||
|
LinuxSeccompAction::ScmpActKillThread => ScmpAction::KillThread,
|
||||||
};
|
};
|
||||||
|
|
||||||
tracing::trace!(?action, "translated action");
|
tracing::trace!(?action, "translated action");
|
||||||
|
@ -10,7 +10,7 @@ libcgroups = { path = "../../../crates/libcgroups" }
|
|||||||
libcontainer = { path = "../../../crates/libcontainer" }
|
libcontainer = { path = "../../../crates/libcontainer" }
|
||||||
nix = "0.28.0"
|
nix = "0.28.0"
|
||||||
num_cpus = "1.16"
|
num_cpus = "1.16"
|
||||||
oci-spec = { version = "0.6.4", features = ["runtime"] }
|
oci-spec = { version = "0.7.0", features = ["runtime"] }
|
||||||
once_cell = "1.19.0"
|
once_cell = "1.19.0"
|
||||||
pnet_datalink = "0.35.0"
|
pnet_datalink = "0.35.0"
|
||||||
procfs = "0.16.0"
|
procfs = "0.16.0"
|
||||||
|
@ -4,7 +4,7 @@ version = "0.0.1"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
oci-spec = { version = "0.6.8", features = ["runtime"] }
|
oci-spec = { version = "0.7.0", features = ["runtime"] }
|
||||||
nix = "0.28.0"
|
nix = "0.28.0"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
libc = "0.2.159" # TODO (YJDoc2) upgrade to latest
|
libc = "0.2.159" # TODO (YJDoc2) upgrade to latest
|
||||||
|
Loading…
Reference in New Issue
Block a user