2023-02-08 07:36:08 +00:00
|
|
|
[package]
|
|
|
|
name = "jail"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["The ChromiumOS Authors"]
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-05-22 01:14:03 +00:00
|
|
|
# The process tests will use fork, which requires a custom test harness to enforce single threaded
|
|
|
|
# execution.
|
|
|
|
[[test]]
|
|
|
|
name = "fork"
|
|
|
|
path = "tests/fork.rs"
|
|
|
|
harness = false
|
|
|
|
|
2023-02-23 23:21:55 +00:00
|
|
|
[features]
|
|
|
|
seccomp_trace = []
|
|
|
|
|
2023-02-08 07:36:08 +00:00
|
|
|
[dependencies]
|
2024-05-21 22:37:42 +00:00
|
|
|
anyhow = "1"
|
2023-02-08 07:36:08 +00:00
|
|
|
base = { path = "../base" }
|
2024-05-21 22:37:42 +00:00
|
|
|
libc = "0.2"
|
2024-05-22 01:14:03 +00:00
|
|
|
log = "0.4"
|
2024-05-21 22:37:42 +00:00
|
|
|
once_cell = "1.7"
|
|
|
|
serde = "1"
|
2023-02-08 07:36:08 +00:00
|
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
2024-05-21 22:37:42 +00:00
|
|
|
static_assertions = "1.1"
|
2023-09-20 19:11:35 +00:00
|
|
|
zerocopy = { version = "0.7", features = ["derive"] }
|
2023-02-08 07:36:08 +00:00
|
|
|
|
2023-10-03 01:33:00 +00:00
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
2023-02-08 07:36:08 +00:00
|
|
|
minijail = "*"
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
which = "4"
|
2023-05-18 06:20:49 +00:00
|
|
|
rayon = "1.5.3"
|
2023-02-08 07:36:08 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-05-21 22:37:42 +00:00
|
|
|
cfg-if = "1"
|
2024-05-22 01:14:03 +00:00
|
|
|
libtest-mimic = "0.6"
|