crosvm/metrics/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

25 lines
597 B
TOML

[package]
name = "metrics"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[dependencies]
anyhow = "*"
base = { path = "../base" }
cfg-if = "*"
libc = { version = "*", optional = true }
protobuf = "3.2"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "*", optional = true }
sync = { path = "../common/sync" }
[target.'cfg(windows)'.dependencies]
chrono = { version = "0.4.19" }
winapi = { version = "*" }
win_util = { path = "../win_util" }
wmi = { version = "^0.9" }
[build-dependencies]
proto_build_tools = { path = "../proto_build_tools" }