2021-03-27 12:08:13 +01:00
|
|
|
[package]
|
|
|
|
name = "youki"
|
|
|
|
version = "0.0.1"
|
|
|
|
authors = ["utam0k <k0ma@utam0k.jp>"]
|
|
|
|
edition = "2018"
|
2021-05-26 14:29:35 +02:00
|
|
|
description = "A container runtime written in Rust"
|
2021-03-27 12:08:13 +01:00
|
|
|
|
2021-09-09 16:07:06 +02:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"cgroups",
|
2021-09-16 07:37:55 +02:00
|
|
|
"seccomp",
|
2021-09-09 16:07:06 +02:00
|
|
|
]
|
2021-09-19 10:10:14 +02:00
|
|
|
exclude = [
|
|
|
|
"test_framework",
|
|
|
|
]
|
2021-09-09 16:07:06 +02:00
|
|
|
|
2021-07-16 18:25:36 +02:00
|
|
|
[features]
|
|
|
|
default = ["systemd_cgroups"]
|
|
|
|
systemd_cgroups = ["systemd"]
|
|
|
|
|
2021-07-06 18:06:16 +02:00
|
|
|
[dependencies.clap]
|
2021-09-03 01:40:28 +02:00
|
|
|
version = "3.0.0-beta.4"
|
2021-07-06 18:06:16 +02:00
|
|
|
default-features = false
|
2021-09-03 01:40:28 +02:00
|
|
|
features = ["std", "suggestions", "derive", "cargo"]
|
2021-07-06 18:06:16 +02:00
|
|
|
|
2021-03-27 12:08:13 +01:00
|
|
|
[dependencies]
|
2021-07-27 10:19:55 +02:00
|
|
|
nix = "0.22.0"
|
2021-09-06 11:25:17 +02:00
|
|
|
procfs = "0.10.1"
|
2021-07-20 20:59:34 +02:00
|
|
|
# Waiting for new caps release, replace git with version on release
|
|
|
|
caps = { git = "https://github.com/lucab/caps-rs", rev = "cb54844", features = ["serde_support"] }
|
2021-03-27 12:08:13 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
prctl = "1.0.0"
|
|
|
|
libc = "0.2.84"
|
|
|
|
log = "0.4"
|
|
|
|
anyhow = "1.0"
|
2021-07-27 10:19:55 +02:00
|
|
|
mio = { version = "0.7.13", features = ["os-ext", "os-poll"] }
|
2021-06-23 18:10:54 +02:00
|
|
|
chrono = { version="0.4", features = ["serde"] }
|
2021-03-27 12:08:13 +01:00
|
|
|
once_cell = "1.6.0"
|
2021-05-21 23:35:02 +02:00
|
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
2021-09-12 09:27:28 +02:00
|
|
|
oci-spec = { git="https://github.com/utam0k/oci-spec-rs/", tag = "v0.4.0-with-bugfix"}
|
2021-08-01 22:49:31 +02:00
|
|
|
cgroups = { version = "0.1.0", path = "./cgroups" }
|
2021-07-16 18:25:36 +02:00
|
|
|
systemd = { version = "0.8", default-features = false, optional = true }
|
2021-06-06 05:50:18 +02:00
|
|
|
dbus = "0.9.2"
|
2021-06-23 18:10:54 +02:00
|
|
|
tabwriter = "1"
|
2021-07-15 22:12:21 +02:00
|
|
|
fastrand = "1.4.1"
|
2021-08-04 02:55:10 +02:00
|
|
|
crossbeam-channel = "0.5"
|
2021-09-16 07:37:55 +02:00
|
|
|
seccomp = { version = "0.1.0", path = "./seccomp" }
|
2021-06-06 06:48:22 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-09-12 09:27:28 +02:00
|
|
|
oci-spec = { git = "https://github.com/utam0k/oci-spec-rs/", tag = "v0.4.0-with-bugfix", features = ["proptests"] }
|
2021-06-06 06:48:22 +02:00
|
|
|
quickcheck = "1"
|
2021-06-20 02:32:02 +02:00
|
|
|
serial_test = "0.5.1"
|
2021-07-06 18:06:16 +02:00
|
|
|
|
|
|
|
[profile.release]
|
2021-09-06 11:08:17 +02:00
|
|
|
lto = true
|