1
0
mirror of https://github.com/containers/youki synced 2024-11-23 09:21:57 +01:00
youki/crates/libcontainer/Cargo.toml

51 lines
1.4 KiB
INI
Raw Normal View History

[package]
name = "libcontainer"
version = "0.2.0"
description = "Library for container control"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
homepage = "https://containers.github.io/youki"
readme = "README.md"
authors = ["youki team"]
2021-10-23 16:32:47 +02:00
edition = "2021"
rust-version = "1.58.1"
keywords = ["youki", "container", "cgroups"]
2021-12-22 22:48:50 +01:00
[features]
default = ["systemd", "v2", "v1", "libseccomp"]
libseccomp = ["dep:libseccomp"]
systemd = ["libcgroups/systemd", "v2"]
v2 = ["libcgroups/v2"]
v1 = ["libcgroups/v1"]
cgroupsv2_devices = ["libcgroups/cgroupsv2_devices"]
2021-12-22 22:48:50 +01:00
[dependencies]
bitflags = "2.4.0"
caps = "0.5.5"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
fastrand = "^2.0.1"
2021-10-21 15:57:27 +02:00
futures = { version = "0.3", features = ["thread-pool"] }
libc = "0.2.148"
nix = "0.26.2"
oci-spec = { version = "~0.6.2", features = ["runtime"] }
once_cell = "1.18.0"
procfs = "0.15.1"
2021-10-21 15:57:27 +02:00
prctl = "1.0.0"
libcgroups = { version = "0.2.0", path = "../libcgroups", default-features = false }
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"
rust-criu = "0.4.0"
regex = "1.9.6"
thiserror = "1.0.49"
tracing = { version = "0.1.37", features = ["attributes"]}
safe-path = "0.1.0"
[dev-dependencies]
oci-spec = { version = "~0.6.2", features = ["proptests", "runtime"] }
quickcheck = "1"
serial_test = "2.0.0"
tempfile = "3"
anyhow = "1.0"
rand = { version = "0.8.5" }