2021-10-21 15:03:05 +02:00
|
|
|
[package]
|
2021-10-21 15:29:39 +02:00
|
|
|
name = "libcontainer"
|
2021-10-21 15:03:05 +02:00
|
|
|
version = "0.0.1"
|
|
|
|
authors = ["youki team"]
|
|
|
|
edition = "2018"
|
2021-10-21 15:57:27 +02:00
|
|
|
description = "Library for container creation"
|
2021-10-21 15:03:05 +02:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["systemd_cgroups"]
|
|
|
|
systemd_cgroups = ["systemd"]
|
|
|
|
|
|
|
|
[dependencies]
|
2021-10-21 15:57:27 +02:00
|
|
|
anyhow = "1.0"
|
2021-10-21 15:03:05 +02:00
|
|
|
caps = { git = "https://github.com/lucab/caps-rs", rev = "cb54844", features = ["serde_support"] }
|
2021-10-21 15:57:27 +02:00
|
|
|
|
|
|
|
chrono = { version="0.4", features = ["serde"] }
|
|
|
|
crossbeam-channel = "0.5"
|
|
|
|
dbus = "0.9.2"
|
|
|
|
fastrand = "1.4.1"
|
|
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
2021-10-21 15:03:05 +02:00
|
|
|
libc = "0.2.84"
|
|
|
|
log = "0.4"
|
|
|
|
mio = { version = "0.7.13", features = ["os-ext", "os-poll"] }
|
2021-10-21 15:57:27 +02:00
|
|
|
nix = "0.22.0"
|
2021-10-21 15:03:05 +02:00
|
|
|
oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "d6fb1e91742313cd0d0085937e2d6df5d4669720" }
|
|
|
|
path-clean = "0.1.0"
|
2021-10-21 15:57:27 +02:00
|
|
|
procfs = "0.11.0"
|
|
|
|
prctl = "1.0.0"
|
|
|
|
libcgroups = { version = "0.1.0", path = "../libcgroups" }
|
|
|
|
libseccomp = { version = "0.1.0", path = "../libseccomp" }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
systemd = { version = "0.8", default-features = false, optional = true }
|
2021-10-21 15:03:05 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "d6fb1e91742313cd0d0085937e2d6df5d4669720", features = ["proptests"] }
|
|
|
|
quickcheck = "1"
|
2021-10-21 15:57:27 +02:00
|
|
|
serial_test = "0.5.1"
|