2021-10-21 15:03:05 +02:00
|
|
|
[package]
|
2021-10-21 15:29:39 +02:00
|
|
|
name = "libcontainer"
|
2023-03-29 13:12:36 +02:00
|
|
|
version = "0.0.5"
|
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]
|
2023-03-23 18:57:51 +01:00
|
|
|
default = ["systemd", "v2", "v1", "libseccomp"]
|
|
|
|
libseccomp = ["dep:libseccomp"]
|
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"
|
2023-04-24 14:17:54 +02:00
|
|
|
bitflags = "2.2.1"
|
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"
|
2023-01-22 09:39:41 +01:00
|
|
|
fastrand = "^1.7.0"
|
2021-10-21 15:57:27 +02:00
|
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
2023-05-09 03:02:01 +02:00
|
|
|
libc = "0.2.144"
|
2021-10-21 15:03:05 +02:00
|
|
|
log = "0.4"
|
2023-02-15 02:18:55 +01:00
|
|
|
mio = { version = "0.8.6", features = ["os-ext", "os-poll"] }
|
2023-02-13 15:05:35 +01:00
|
|
|
nix = "0.26.2"
|
2023-02-27 03:19:24 +01:00
|
|
|
path-clean = "1.0.1"
|
2023-02-27 05:05:02 +01:00
|
|
|
oci-spec = { version = "^0.6.0", features = ["runtime"] }
|
2023-04-17 13:53:58 +02:00
|
|
|
once_cell = "1.17.1"
|
2023-02-20 03:17:26 +01:00
|
|
|
procfs = "0.15.1"
|
2021-10-21 15:57:27 +02:00
|
|
|
prctl = "1.0.0"
|
2023-03-29 13:12:36 +02:00
|
|
|
libcgroups = { version = "0.0.5", path = "../libcgroups", default-features = false }
|
2023-03-23 18:57:51 +01:00
|
|
|
libseccomp = { version = "0.3.0", optional=true }
|
2021-10-21 15:57:27 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2023-04-24 03:23:33 +02:00
|
|
|
syscalls = "0.6.10"
|
2023-01-20 01:22:22 +01:00
|
|
|
rust-criu = "0.4.0"
|
2023-03-01 05:38:17 +01:00
|
|
|
clone3 = "0.2.3"
|
2023-04-17 13:53:58 +02:00
|
|
|
regex = "1.7.3"
|
2023-05-04 03:47:45 +02:00
|
|
|
thiserror = "1.0.24"
|
2021-10-21 15:03:05 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-02-27 05:05:02 +01:00
|
|
|
oci-spec = { version = "^0.6.0", features = ["proptests", "runtime"] }
|
2021-10-21 15:03:05 +02:00
|
|
|
quickcheck = "1"
|
2023-03-31 09:09:49 +02:00
|
|
|
serial_test = "2.0.0"
|
2022-02-15 01:37:26 +01:00
|
|
|
rand = "0.8.5"
|