1[package] 2name = "base" 3version = "0.1.0" 4authors = ["The ChromiumOS Authors"] 5edition = "2021" 6 7# The process tests will use fork, which requires a custom test harness to enforce single threaded 8# execution. 9[[test]] 10name = "process" 11path = "tests/process.rs" 12harness = false 13 14[features] 15proto_tube = ["protobuf"] 16seccomp_trace = [] 17 18[dependencies] 19audio_streams = { path = "../common/audio_streams" } # provided by ebuild 20base_event_token_derive = { path = "base_event_token_derive", version = "*" } 21sync = { path = "../common/sync" } # provided by ebuild 22 23cfg-if = "*" 24chrono = { version = "0.4.34", features = ["now"], default-features = false } 25env_logger = { version = "0.9.0", default-features = false } 26libc = "*" 27log = "0.4" 28once_cell = "1.7" 29protobuf = { version = "3.2", optional = true } 30remain = "0.2" 31serde = { version = "1", features = [ "derive" ] } 32serde_json = "*" 33smallvec = "1.6.1" 34tempfile = "3" 35thiserror = "1.0.20" 36uuid = { version = "1", features = ["v4"] } 37zerocopy = { version = "0.7", features = ["derive"] } 38 39[dev-dependencies] 40libtest-mimic = "0.6" 41# ANDROID: uncomment when protos is fixed to work with cargo. 42# protos = { path = "../protos", features = ["composite-disk"] } 43 44[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] 45minijail = "*" 46 47[target.'cfg(windows)'.dependencies] 48protobuf = "3.2" 49rand = "0.8" 50winapi = "*" 51win_util = { path = "../win_util"} 52