Skip to content

Commit

Permalink
Cargo.toml: add version to chrono dependencies
Browse files Browse the repository at this point in the history
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.
<chronotope/chrono#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>
  • Loading branch information
danielverkamp authored and crosvm LUCI committed Aug 11, 2023
1 parent 9151130 commit 045a307
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data_model = { path = "../common/data_model" } # provided by ebuild
sync = { path = "../common/sync" } # provided by ebuild

cfg-if = "*"
chrono = "*"
chrono = "0.4.19"
env_logger = "0.9.0"
libc = "*"
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion devices/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ balloon_control = { path = "../common/balloon_control" }
base = { path = "../base" }
bit_field = { path = "../bit_field" }
cfg-if = "1.0.0"
chrono = { version = "*", features = [ "serde" ] }
chrono = { version = "0.4.19", features = [ "serde" ] }
crc32fast = { version = "1.2.1", optional = true }
cros_async = { path = "../cros_async" }
cros-codecs = { version = "0.0.4", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ serde_json = { version = "*", optional = true }
sync = { path = "../common/sync" }

[target.'cfg(windows)'.dependencies]
chrono = { version = "*" }
chrono = { version = "0.4.19" }
winapi = { version = "*" }
win_util = { path = "../win_util" }
wmi = { version = "^0.9" }
Expand Down
2 changes: 1 addition & 1 deletion x86_64/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ acpi_tables = {path = "../acpi_tables" }
arch = { path = "../arch" }
anyhow = "*"
cfg-if = "1.0.0"
chrono = "*"
chrono = "0.4.19"
cros_fdt = { path = "../cros_fdt" }
data_model = { path = "../common/data_model" }
devices = { path = "../devices" }
Expand Down

0 comments on commit 045a307

Please sign in to comment.