2021-08-01 22:49:31 +02:00
|
|
|
[package]
|
2021-10-21 15:57:27 +02:00
|
|
|
name = "libcgroups"
|
2024-09-04 15:17:17 +02:00
|
|
|
version = "0.4.1" # MARK: Version
|
2022-02-23 09:32:16 +01:00
|
|
|
description = "Library for cgroup"
|
|
|
|
license-file = "../../LICENSE"
|
|
|
|
repository = "https://github.com/containers/youki"
|
2024-11-03 13:38:55 +01:00
|
|
|
homepage = "https://youki-dev.github.io/youki/"
|
2022-02-23 09:32:16 +01:00
|
|
|
readme = "README.md"
|
|
|
|
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"
|
2023-05-04 08:08:29 +02:00
|
|
|
autoexamples = true
|
2022-02-23 09:32:16 +01:00
|
|
|
keywords = ["youki", "container", "cgroups"]
|
2021-08-01 22:49:31 +02:00
|
|
|
|
|
|
|
[features]
|
2021-11-30 22:42:12 +01:00
|
|
|
default = ["v1", "v2", "systemd"]
|
|
|
|
v1 = []
|
|
|
|
v2 = []
|
2023-10-07 05:10:07 +02:00
|
|
|
systemd = ["v2", "nix/socket", "nix/uio"]
|
|
|
|
cgroupsv2_devices = ["rbpf", "libbpf-sys", "errno", "libc", "nix/dir"]
|
2021-08-01 22:49:31 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2024-05-23 14:29:37 +02:00
|
|
|
nix = { version = "0.28.0", features = ["signal", "user", "fs"] }
|
2023-11-03 13:15:33 +01:00
|
|
|
procfs = "0.16.0"
|
2024-11-13 01:44:12 +01:00
|
|
|
oci-spec = { version = "~0.7.1", features = ["runtime"] }
|
2024-04-15 03:01:23 +02:00
|
|
|
fixedbitset = "0.5.7"
|
2021-08-01 22:49:31 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2024-09-19 02:38:07 +02:00
|
|
|
rbpf = { version = "0.3.0", optional = true }
|
2024-11-01 16:37:00 +01:00
|
|
|
libbpf-sys = { version = "1.5.0", optional = true }
|
2024-05-09 02:59:07 +02:00
|
|
|
errno = { version = "0.3.9", optional = true }
|
2024-11-13 01:44:12 +01:00
|
|
|
libc = { version = "0.2.162", optional = true }
|
2024-11-14 05:50:08 +01:00
|
|
|
thiserror = "2.0.3"
|
2023-10-20 02:47:22 +02:00
|
|
|
tracing = { version = "0.1.40", features = ["attributes"] }
|
2021-08-01 22:49:31 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-05-03 07:59:55 +02:00
|
|
|
anyhow = "1.0"
|
2024-11-13 01:44:12 +01:00
|
|
|
oci-spec = { version = "~0.7.1", features = ["proptests", "runtime"] }
|
2021-08-01 22:49:31 +02:00
|
|
|
quickcheck = "1"
|
2024-07-22 02:20:22 +02:00
|
|
|
mockall = { version = "0.13.0", features = [] }
|
2023-02-21 07:08:00 +01:00
|
|
|
clap = "4.1.6"
|
2021-08-20 05:03:07 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2024-01-30 02:00:57 +01:00
|
|
|
env_logger = "0.11"
|
2024-04-29 02:40:45 +02:00
|
|
|
serial_test = "3.1.1"
|
2023-05-08 07:33:59 +02:00
|
|
|
tempfile = "3"
|