mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 18:38:01 +00:00
chrono, rand, and regex are only needed in the Windows parts of base for now; remove them from the common dependencies so we don't need to compile them for Linux builds. BUG=None TEST=cargo build --timings Change-Id: Ib62d8e9c71860a4e924a05c8453c6bd54ba7ecf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3579725 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
33 lines
668 B
TOML
33 lines
668 B
TOML
[package]
|
|
name = "base"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
chromeos = []
|
|
|
|
[dependencies]
|
|
audio_streams = { path = "../common/audio_streams" }
|
|
data_model = { path = "../common/data_model" }
|
|
libc = "*"
|
|
remain = "0.2"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = "*"
|
|
smallvec = "1.6.1"
|
|
sync = { path = "../common/sync" }
|
|
thiserror = "1.0.20"
|
|
tempfile = "3"
|
|
base_poll_token_derive = { path = "base_poll_token_derive" }
|
|
cfg-if = "*"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
chrono = "*"
|
|
lazy_static = "*"
|
|
rand = "*"
|
|
regex = "*"
|
|
winapi = "*"
|
|
win_util = { path = "../win_util"}
|
|
|
|
[build-dependencies]
|
|
cc = "*"
|