Skip to content

Commit

Permalink
replace chrono with time (#806)
Browse files Browse the repository at this point in the history
* replace chrono with time

* Fix test chrono usage

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
  • Loading branch information
conradludgate and ellie committed Sep 11, 2023
1 parent 2342a33 commit f90c01f
Show file tree
Hide file tree
Showing 35 changed files with 358 additions and 385 deletions.
131 changes: 30 additions & 101 deletions Cargo.lock

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

13 changes: 9 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ members = [
name = "atuin"
version = "16.0.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
rust-version = "1.59"
rust-version = "1.67"
license = "MIT"
homepage = "https://atuin.sh"
repository = "https://github.com/atuinsh/atuin"
Expand All @@ -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"
Expand All @@ -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",
]
3 changes: 2 additions & 1 deletion atuin-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "atuin-client"
edition = "2021"
description = "client library for atuin"

rust-version = { workspace = true }
version = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
Expand All @@ -20,7 +21,7 @@ atuin-common = { path = "../atuin-common", version = "16.0.0" }

log = { workspace = true }
base64 = { workspace = true }
chrono = { workspace = true }
time = { workspace = true }
clap = { workspace = true }
eyre = { workspace = true }
directories = { workspace = true }
Expand Down

1 comment on commit f90c01f

@vercel
Copy link

@vercel vercel bot commented on f90c01f Sep 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

atuin-docs – ./

atuin-docs.vercel.app
atuin-docs-atuin.vercel.app
atuin-docs-git-main-atuin.vercel.app

Please sign in to comment.