2021-08-01 22:49:31 +02:00
|
|
|
[package]
|
|
|
|
name = "cgroups"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[features]
|
2021-08-20 05:03:07 +02:00
|
|
|
default = ["systemd_cgroups", "cgroupsv2_devices"]
|
2021-08-01 22:49:31 +02:00
|
|
|
systemd_cgroups = ["systemd"]
|
2021-08-24 11:26:52 +02:00
|
|
|
cgroupsv2_devices = ["rbpf", "libbpf-sys", "errno", "libc"]
|
2021-08-01 22:49:31 +02:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
nix = "0.22.0"
|
|
|
|
procfs = "0.9.1"
|
|
|
|
log = "0.4"
|
|
|
|
anyhow = "1.0"
|
2021-08-15 10:41:51 +02:00
|
|
|
oci_spec = { git = "https://github.com/containers/oci-spec-rs", rev = "e0de21b89dc1e65f69a5f45a08bbe426787c7fa1"}
|
2021-08-01 22:49:31 +02:00
|
|
|
systemd = { version = "0.8", default-features = false, optional = true }
|
|
|
|
dbus = "0.9.2"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-08-24 11:26:52 +02:00
|
|
|
rbpf = {version = "0.1.0", optional = true }
|
|
|
|
libbpf-sys = { version = "0.4.0-2", optional = true }
|
|
|
|
errno = { version = "0.2.7", optional = true }
|
|
|
|
libc = { version = "0.2.84", optional = true }
|
2021-08-01 22:49:31 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-08-15 10:41:51 +02:00
|
|
|
oci_spec = { git = "https://github.com/containers/oci-spec-rs", rev = "e0de21b89dc1e65f69a5f45a08bbe426787c7fa1", features = ["proptests"]}
|
2021-08-01 22:49:31 +02:00
|
|
|
quickcheck = "1"
|
2021-08-20 05:03:07 +02:00
|
|
|
clap = "2"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
env_logger = "0.9"
|