1[package] 2name = "base" 3version = "0.1.0" 4authors = ["The ChromiumOS Authors"] 5edition = "2021" 6 7[features] 8proto_tube = ["protobuf"] 9seccomp_trace = [] 10 11[dependencies] 12audio_streams = { path = "../common/audio_streams" } # provided by ebuild 13base_event_token_derive = { path = "base_event_token_derive" } 14sync = { path = "../common/sync" } # provided by ebuild 15 16cfg-if = "1" 17chrono = { version = "0.4.34", features = ["now"], default-features = false } 18env_logger = { version = "0.9.0", default-features = false } 19libc = "0.2" 20log = "0.4" 21once_cell = "1.7" 22protobuf = { version = "3.2", optional = true } 23remain = "0.2" 24serde = { version = "1", features = [ "derive" ] } 25serde_json = "1" 26smallvec = "1.6.1" 27thiserror = "1.0.20" 28uuid = { version = "1", features = ["v4"] } 29zerocopy = { version = "0.7", features = ["derive"] } 30 31[dev-dependencies] 32# ANDROID: uncomment when protos is fixed to work with cargo. 33# protos = { path = "../protos", features = ["composite-disk"] } 34tempfile = "3" 35 36[target.'cfg(windows)'.dependencies] 37futures = { version = "0.3" } 38protobuf = "3.2" 39rand = "0.8" 40winapi = "0.3" 41win_util = { path = "../win_util"} 42 43[target.'cfg(target_os = "android")'.dependencies] 44android_log-sys = "0.3.1" 45