mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
19fc097eb8
We depend on both lazy_static and once_cell, which do basically the same thing. The once_cell crate has a few advantages: - once_cell is on track to be included into libstd. (https://github.com/rust-lang/rust/issues/74465) - once_cell doesn't require macro magic. Replace the uses of lazy_static with their once_cell equivalents so we don't need to pull in both crates. BUG=b:236191006 TEST=tools/presubmit --all TEST=tools/run_tests --target=host --arch=win64 --build-only TEST=cargo test --features=plugin Change-Id: I7cabcd837ef4878e8e8ae635bb4f235a58e4cae3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3707624 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com>
36 lines
841 B
TOML
36 lines
841 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" } # 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
|
|
|
|
cfg-if = "*"
|
|
chrono = "*"
|
|
env_logger = "0.9.0"
|
|
libc = "*"
|
|
log = "0.4"
|
|
once_cell = "1.7"
|
|
remain = "0.2"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = "*"
|
|
smallvec = "1.6.1"
|
|
tempfile = "3"
|
|
thiserror = "1.0.20"
|
|
uuid = { version = "0.8.2", features = ["v4"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
rand = "*"
|
|
winapi = "*"
|
|
win_util = { path = "../win_util"}
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
regex = "*"
|