Skip to content

Commit

Permalink
deps-update: bump chrono from 0.4.34 to 0.4.35
Browse files Browse the repository at this point in the history
  • Loading branch information
HuijingHei committed Mar 14, 2024
1 parent 9b0e5ef commit ac8dd79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -21,7 +21,7 @@ path = "src/main.rs"
[dependencies]
anyhow = "1.0"
bincode = "1.3.2"
chrono = { version = "0.4.34", features = ["serde"] }
chrono = { version = "0.4.35", features = ["serde"] }
clap = { version = "3.2", default-features = false, features = ["cargo", "derive", "std", "suggestions"] }
env_logger = "0.10"
fn-error-context = "0.2.1"
Expand Down
2 changes: 1 addition & 1 deletion src/model.rs
Expand Up @@ -135,7 +135,7 @@ mod test {
version: "v1".into(),
};
let b = ContentMetadata {
timestamp: t + Duration::seconds(1),
timestamp: t + Duration::try_seconds(1).unwrap(),
version: "v2".into(),
};
assert!(a.can_upgrade_to(&b));
Expand Down

0 comments on commit ac8dd79

Please sign in to comment.