2021-08-01 22:49:31 +02:00
|
|
|
[package]
|
|
|
|
name = "cgroups"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
2021-08-26 01:03:45 +02:00
|
|
|
autoexamples = false
|
2021-08-01 22:49:31 +02:00
|
|
|
|
|
|
|
[features]
|
2021-08-25 23:55:15 +02:00
|
|
|
default = ["systemd_cgroups"]
|
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"
|
2021-09-06 11:25:17 +02:00
|
|
|
procfs = "0.10.1"
|
2021-08-01 22:49:31 +02:00
|
|
|
log = "0.4"
|
|
|
|
anyhow = "1.0"
|
2021-10-06 18:41:15 +02:00
|
|
|
oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "3d5132a18c305be59d58187201429d8f0243b513" }
|
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-10-06 18:41:15 +02:00
|
|
|
oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "3d5132a18c305be59d58187201429d8f0243b513", 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"
|