From f90c01f702f6a98b041f766b6a1d857bc1b9afef Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Mon, 11 Sep 2023 09:26:05 +0100 Subject: replace chrono with time (#806) * replace chrono with time * Fix test chrono usage --------- Co-authored-by: Ellie Huxtable --- Cargo.toml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9b9bfc01..1a8e1d0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ name = "atuin" version = "16.0.0" authors = ["Ellie Huxtable "] -rust-version = "1.59" +rust-version = "1.67" license = "MIT" homepage = "https://atuin.sh" repository = "https://github.com/atuinsh/atuin" @@ -22,13 +22,13 @@ readme = "README.md" async-trait = "0.1.58" base64 = "0.21" log = "0.4" -chrono = { version = "0.4", features = ["serde"] } +time = { version = "0.3", features = ["serde-human-readable", "macros", "local-offset"] } clap = { version = "4.0.18", features = ["derive"] } config = { version = "0.13", default-features = false, features = ["toml"] } directories = "4" eyre = "0.6" fs-err = "2.9" -interim = { version = "0.1.0", features = ["chrono"] } +interim = { version = "0.1.0", features = ["time"] } itertools = "0.10.5" rand = { version = "0.8.5", features = ["std"] } semver = "1.0.14" @@ -50,4 +50,9 @@ default-features = false [workspace.dependencies.sqlx] version = "0.7.1" -features = ["runtime-tokio-rustls", "chrono", "postgres", "uuid"] +features = [ + "runtime-tokio-rustls", + "time", + "postgres", + "uuid", +] -- cgit v1.3.1