Skip to content

Commit

Permalink
Depend on chrono version 0.4.23 or higher
Browse files Browse the repository at this point in the history
We have seen cases where, with chrono versions lower than 0.4.23, the
program fails to build because for one reason or another the
with_ymd_and_hms method is not available on the Tz type.
Play it safe and depend on version 0.4.23 to prevent such issues from
happening again.
  • Loading branch information
d-e-s-o committed Feb 28, 2023
1 parent 1975a79 commit e375955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ grev = {version = "0.1.3"}
[dependencies]
apca = {version = "0.26.2"}
anyhow = {version = "1.0", default-features = false, features = ["std"]}
chrono = {version = "0.4", default-features = false}
chrono = {version = "0.4.23", default-features = false}
chrono-tz = {version = "0.8.1", default-features = false, features = ["std"]}
clap = { version = "3.1.18", features = ["derive"] }
clap_complete = { version = "3.1.4", optional = true }
Expand Down

0 comments on commit e375955

Please sign in to comment.