1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-05-10 09:36:13 +02:00

add crossbeam_channel

This commit is contained in:
yihuaf 2021-08-04 02:55:10 +02:00
parent 1a75f87160
commit 7221e85d24
2 changed files with 25 additions and 16 deletions

40
Cargo.lock generated
View File

@ -143,6 +143,26 @@ dependencies = [
"cfg-if 1.0.0",
]
[[package]]
name = "crossbeam-channel"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-utils"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
dependencies = [
"cfg-if 1.0.0",
"lazy_static",
]
[[package]]
name = "cstr-argument"
version = "0.1.1"
@ -506,19 +526,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "nix"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c3728fec49d363a50a8828a190b379a446cc5cf085c06259bbbeb34447e4ec7"
dependencies = [
"bitflags",
"cc",
"cfg-if 1.0.0",
"libc",
"memoffset",
]
[[package]]
name = "nix"
version = "0.22.0"
@ -576,7 +583,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"caps",
"nix 0.22.0",
"nix",
"quickcheck",
"serde",
"serde_json",
@ -651,7 +658,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "059a34f111a9dee2ce1ac2826a68b24601c4298cfeb1a587c3cb493d5ab46f52"
dependencies = [
"libc",
"nix 0.21.0",
"nix",
]
[[package]]
@ -1053,13 +1060,14 @@ dependencies = [
"cgroups",
"chrono",
"clap",
"crossbeam-channel",
"dbus",
"fastrand",
"futures",
"libc",
"log",
"mio",
"nix 0.22.0",
"nix",
"oci_spec",
"once_cell",
"prctl",

View File

@ -35,6 +35,7 @@ systemd = { version = "0.8", default-features = false, optional = true }
dbus = "0.9.2"
tabwriter = "1"
fastrand = "1.4.1"
crossbeam-channel = "0.5"
[dev-dependencies]
oci_spec = { version = "0.1.0", path = "./oci_spec", features = ["proptests"] }