2020-08-03 03:09:41 +00:00
|
|
|
[package]
|
|
|
|
name = "base"
|
|
|
|
version = "0.1.0"
|
2022-12-29 21:24:33 +00:00
|
|
|
authors = ["The ChromiumOS Authors"]
|
2022-03-08 01:16:09 +00:00
|
|
|
edition = "2021"
|
2020-08-03 03:09:41 +00:00
|
|
|
|
2023-02-28 19:01:18 +00:00
|
|
|
# The process tests will use fork, which requires a custom test harness to enforce single threaded
|
|
|
|
# execution.
|
|
|
|
[[test]]
|
|
|
|
name = "process"
|
|
|
|
path = "tests/process.rs"
|
|
|
|
harness = false
|
|
|
|
|
2020-08-03 03:09:41 +00:00
|
|
|
[features]
|
2023-05-10 19:04:56 +00:00
|
|
|
proto_tube = ["protobuf"]
|
2023-02-23 23:21:55 +00:00
|
|
|
seccomp_trace = []
|
2020-08-03 03:09:41 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-06-13 20:01:52 +00:00
|
|
|
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
|
|
|
base_event_token_derive = { path = "base_event_token_derive", version = "*" }
|
|
|
|
data_model = { path = "../common/data_model" } # provided by ebuild
|
|
|
|
sync = { path = "../common/sync" } # provided by ebuild
|
2022-04-13 23:35:10 +00:00
|
|
|
|
|
|
|
cfg-if = "*"
|
2023-08-11 18:30:20 +00:00
|
|
|
chrono = "0.4.19"
|
2022-05-20 21:13:43 +00:00
|
|
|
env_logger = "0.9.0"
|
2020-10-09 08:20:52 +00:00
|
|
|
libc = "*"
|
2022-04-13 23:35:10 +00:00
|
|
|
log = "0.4"
|
2022-05-20 21:13:43 +00:00
|
|
|
once_cell = "1.7"
|
2023-05-10 19:04:56 +00:00
|
|
|
protobuf = { version = "3.2", optional = true }
|
2021-08-18 21:18:53 +00:00
|
|
|
remain = "0.2"
|
2021-03-03 17:24:50 +00:00
|
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
|
|
serde_json = "*"
|
2021-02-10 08:50:57 +00:00
|
|
|
smallvec = "1.6.1"
|
2022-03-16 19:04:57 +00:00
|
|
|
tempfile = "3"
|
2022-06-13 20:01:52 +00:00
|
|
|
thiserror = "1.0.20"
|
2023-02-03 01:53:53 +00:00
|
|
|
uuid = { version = "1", features = ["v4"] }
|
2023-09-20 19:11:35 +00:00
|
|
|
zerocopy = { version = "0.7", features = ["derive"] }
|
2022-03-21 18:31:38 +00:00
|
|
|
|
2023-02-28 19:01:18 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
libtest-mimic = "0.6"
|
2023-05-10 19:04:56 +00:00
|
|
|
protos = { path = "../protos", features = ["composite-disk"] }
|
2023-02-28 19:01:18 +00:00
|
|
|
|
2022-10-05 01:39:07 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
minijail = "*"
|
|
|
|
|
2022-03-21 18:31:38 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2023-05-10 19:04:56 +00:00
|
|
|
protobuf = "3.2"
|
2022-06-23 17:56:04 +00:00
|
|
|
rand = "0.8"
|
2022-03-21 18:31:38 +00:00
|
|
|
winapi = "*"
|
2022-03-21 21:44:36 +00:00
|
|
|
win_util = { path = "../win_util"}
|
2022-03-21 18:31:38 +00:00
|
|
|
|
2022-04-13 23:35:10 +00:00
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
|
|
regex = "*"
|