2021-10-21 15:03:05 +02:00
|
|
|
[package]
|
2021-10-21 15:29:39 +02:00
|
|
|
name = "libcontainer"
|
2023-08-31 13:49:50 +02:00
|
|
|
version = "0.2.0"
|
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]
|
2023-08-14 02:28:54 +02:00
|
|
|
bitflags = "2.4.0"
|
2022-11-03 02:24:23 +01:00
|
|
|
caps = "0.5.5"
|
2023-05-10 14:49:08 +02:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
|
2023-09-26 02:18:36 +02:00
|
|
|
fastrand = "^2.0.1"
|
2021-10-21 15:57:27 +02:00
|
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
2023-09-14 02:33:14 +02:00
|
|
|
libc = "0.2.148"
|
2023-02-13 15:05:35 +01:00
|
|
|
nix = "0.26.2"
|
2023-07-17 17:41:29 +02:00
|
|
|
oci-spec = { version = "~0.6.2", features = ["runtime"] }
|
2023-06-05 08:35:48 +02:00
|
|
|
once_cell = "1.18.0"
|
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-08-31 13:49:50 +02:00
|
|
|
libcgroups = { version = "0.2.0", 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-01-20 01:22:22 +01:00
|
|
|
rust-criu = "0.4.0"
|
2023-09-04 02:40:07 +02:00
|
|
|
regex = "1.9.5"
|
2023-09-28 02:21:14 +02:00
|
|
|
thiserror = "1.0.49"
|
2023-05-12 13:47:05 +02:00
|
|
|
tracing = { version = "0.1.37", features = ["attributes"]}
|
2023-05-13 19:30:17 +02:00
|
|
|
safe-path = "0.1.0"
|
2021-10-21 15:03:05 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-07-17 17:41:29 +02:00
|
|
|
oci-spec = { version = "~0.6.2", 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"
|
2023-05-09 14:53:57 +02:00
|
|
|
tempfile = "3"
|
2023-05-19 12:03:37 +02:00
|
|
|
anyhow = "1.0"
|
2023-06-19 14:21:18 +02:00
|
|
|
rand = { version = "0.8.5" }
|