crosvm/base/Cargo.toml
Daniel Verkamp 045a3074ef Cargo.toml: add version to chrono dependencies
The newest chrono version is currently on the 0.4.x branch, but there
are preparations to release a 0.5.x version. Explicitly specify a 0.4.x
version in our dependencies since there will be backwards-incompatible
API breakages in 0.5.x.
<https://github.com/chronotope/chrono/issues/970>

The exact version chosen (chrono 0.4.19) matches the version we have
pinned in Cargo.lock currently and will match any newer 0.4.x releases,
so there should be no functional change.

BUG=None
TEST=cargo build

Change-Id: Ifa24a547e435ab4987be9358343e6b25c1385c66
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4774870
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-11 21:02:25 +00:00

55 lines
1.3 KiB
TOML

[package]
name = "base"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
# 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
[features]
chromeos = []
proto_tube = ["protobuf"]
seccomp_trace = []
[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 = "0.4.19"
env_logger = "0.9.0"
libc = "*"
log = "0.4"
once_cell = "1.7"
protobuf = { version = "3.2", optional = true }
remain = "0.2"
serde = { version = "1", features = [ "derive" ] }
serde_json = "*"
smallvec = "1.6.1"
tempfile = "3"
thiserror = "1.0.20"
uuid = { version = "1", features = ["v4"] }
zerocopy = "*"
[dev-dependencies]
libtest-mimic = "0.6"
protos = { path = "../protos", features = ["composite-disk"] }
[target.'cfg(unix)'.dependencies]
minijail = "*"
[target.'cfg(windows)'.dependencies]
protobuf = "3.2"
rand = "0.8"
winapi = "*"
win_util = { path = "../win_util"}
[target.'cfg(windows)'.dev-dependencies]
regex = "*"