1
0
mirror of https://github.com/containers/youki synced 2024-11-23 09:21:57 +01:00

address review

Signed-off-by: yihuaf <yihuaf@unkies.org>
This commit is contained in:
yihuaf 2023-07-04 02:15:55 -07:00
parent 524e56d78b
commit 2a1355e553
2 changed files with 4 additions and 2 deletions

@ -27,7 +27,7 @@ fastrand = "^2.0.0"
futures = { version = "0.3", features = ["thread-pool"] }
libc = "0.2.147"
nix = "0.26.2"
oci-spec = { version = "^0.6.1", features = ["runtime"] }
oci-spec = { version = "~0.6.1", features = ["runtime"] }
once_cell = "1.18.0"
procfs = "0.15.1"
prctl = "1.0.0"
@ -43,7 +43,7 @@ tracing = { version = "0.1.37", features = ["attributes"]}
safe-path = "0.1.0"
[dev-dependencies]
oci-spec = { version = "^0.6.0", features = ["proptests", "runtime"] }
oci-spec = { version = "~0.6.1", features = ["proptests", "runtime"] }
quickcheck = "1"
serial_test = "2.0.0"
tempfile = "3"

@ -21,4 +21,6 @@ pub mod workload;
// Because the `libcontainer` api uses the oci_spec who resides in a different
// crate, we re-export the version of oci_spec this crate uses.
// Ref: https://github.com/containers/youki/issues/2066
// Ref: https://github.com/rust-lang/api-guidelines/discussions/176
pub use oci_spec;