2021-10-21 15:03:05 +02:00
|
|
|
[package]
|
2021-10-21 15:29:39 +02:00
|
|
|
name = "libcontainer"
|
2022-12-06 06:56:00 +01:00
|
|
|
version = "0.0.4"
|
2022-02-23 09:32:16 +01:00
|
|
|
description = "Library for container control"
|
|
|
|
license-file = "../../LICENSE"
|
|
|
|
repository = "https://github.com/containers/youki"
|
|
|
|
homepage = "https://containers.github.io/youki"
|
|
|
|
readme = "README.md"
|
2021-10-21 15:03:05 +02:00
|
|
|
authors = ["youki team"]
|
2021-10-23 16:32:47 +02:00
|
|
|
edition = "2021"
|
2022-01-21 15:06:46 +01:00
|
|
|
rust-version = "1.58.1"
|
2022-02-23 09:32:16 +01:00
|
|
|
keywords = ["youki", "container", "cgroups"]
|
2021-10-21 15:03:05 +02:00
|
|
|
|
2021-12-22 22:48:50 +01:00
|
|
|
[features]
|
2022-09-30 07:49:50 +02:00
|
|
|
default = ["systemd", "v2", "v1"]
|
2021-12-22 22:48:50 +01:00
|
|
|
wasm-wasmer = ["wasmer", "wasmer-wasi"]
|
2022-12-11 16:01:08 +01:00
|
|
|
wasm-wasmedge = ["wasmedge-sdk/standalone"]
|
|
|
|
wasm-wasmtime = ["wasmtime", "wasmtime-wasi"]
|
2022-11-07 22:29:57 +01:00
|
|
|
systemd = ["libcgroups/systemd", "v2"]
|
2022-09-30 07:49:50 +02:00
|
|
|
v2 = ["libcgroups/v2"]
|
|
|
|
v1 = ["libcgroups/v1"]
|
2022-11-07 22:29:57 +01:00
|
|
|
cgroupsv2_devices = ["libcgroups/cgroupsv2_devices"]
|
2021-12-22 22:48:50 +01:00
|
|
|
|
2021-10-21 15:03:05 +02:00
|
|
|
[dependencies]
|
2021-10-21 15:57:27 +02:00
|
|
|
anyhow = "1.0"
|
2022-02-28 21:52:54 +01:00
|
|
|
bitflags = "1.3.2"
|
2022-11-03 02:24:23 +01:00
|
|
|
caps = "0.5.5"
|
2022-09-30 07:49:50 +02:00
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2021-10-21 15:57:27 +02:00
|
|
|
crossbeam-channel = "0.5"
|
2022-07-25 09:56:04 +02:00
|
|
|
fastrand = "1.8.0"
|
2021-10-21 15:57:27 +02:00
|
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
2023-01-20 13:03:46 +01:00
|
|
|
libc = "0.2.139"
|
2021-10-21 15:03:05 +02:00
|
|
|
log = "0.4"
|
2022-10-25 02:42:13 +02:00
|
|
|
mio = { version = "0.8.5", features = ["os-ext", "os-poll"] }
|
2022-08-23 02:40:14 +02:00
|
|
|
nix = "0.25.0"
|
2023-01-19 01:29:23 +01:00
|
|
|
oci-spec = { version = "0.6.0", features = ["runtime"] }
|
2021-10-21 15:03:05 +02:00
|
|
|
path-clean = "0.1.0"
|
2022-12-13 13:12:50 +01:00
|
|
|
procfs = "0.14.2"
|
2021-10-21 15:57:27 +02:00
|
|
|
prctl = "1.0.0"
|
2022-12-06 06:56:00 +01:00
|
|
|
libcgroups = { version = "0.0.4", path = "../libcgroups", default-features = false }
|
2022-10-03 03:27:30 +02:00
|
|
|
libseccomp = { version = "0.3.0" }
|
2021-10-21 15:57:27 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2022-10-13 02:30:54 +02:00
|
|
|
syscalls = "0.6.7"
|
2023-01-20 01:22:22 +01:00
|
|
|
rust-criu = "0.4.0"
|
2022-03-05 12:24:21 +01:00
|
|
|
wasmer = { version = "2.2.0", optional = true }
|
2022-06-09 10:07:59 +02:00
|
|
|
wasmer-wasi = { version = "2.3.0", optional = true }
|
2022-12-11 00:24:39 +01:00
|
|
|
wasmedge-sdk = { version = "0.7.1", optional = true }
|
2022-12-31 13:10:54 +01:00
|
|
|
wasmtime = {version = "4.0.0", optional = true }
|
|
|
|
wasmtime-wasi = {version = "4.0.0", optional = true }
|
2021-10-21 15:03:05 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-01-19 01:29:23 +01:00
|
|
|
oci-spec = { version = "0.6.0", features = ["proptests", "runtime"] }
|
2021-10-21 15:03:05 +02:00
|
|
|
quickcheck = "1"
|
2023-01-18 01:38:09 +01:00
|
|
|
serial_test = "1.0.0"
|
2022-02-15 01:37:26 +01:00
|
|
|
rand = "0.8.5"
|