From 8b9aae7076f39a1ebeecb3e2b823503f437812fa Mon Sep 17 00:00:00 2001 From: Benjamin Vergnaud <9599845+bvergnaud@users.noreply.github.com> Date: Fri, 21 Oct 2022 21:21:14 +0200 Subject: docs: add more details about date parsing in the stats command (#579) * docs: add more details about date parsing in the stats command * chore: Replace chrono-english crate with interim --- Cargo.lock | 59 +++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 18 deletions(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 339b156d..636a0ba8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,6 @@ dependencies = [ "atuin-server", "base64", "chrono", - "chrono-english", "clap", "clap_complete", "cli-table", @@ -96,6 +95,7 @@ dependencies = [ "eyre", "fs-err", "indicatif", + "interim", "itertools", "log", "pretty_env_logger", @@ -119,12 +119,12 @@ dependencies = [ "atuin-common", "base64", "chrono", - "chrono-english", "config", "directories", "eyre", "fs-err", "hex", + "interim", "itertools", "lazy_static", "log", @@ -243,6 +243,12 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" +[[package]] +name = "beef" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" + [[package]] name = "bitflags" version = "1.3.2" @@ -310,16 +316,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "chrono-english" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73d909da7eb4a7d88c679c3f5a1bc09d965754e0adb2e7627426cef96a00d6f" -dependencies = [ - "chrono", - "scanlex", -] - [[package]] name = "chronoutil" version = "0.2.3" @@ -944,6 +940,16 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "interim" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ffd2ac8397b9574daa4ffa7ede4427dd249cadaa900719d4b01154a5631d38b" +dependencies = [ + "chrono", + "logos", +] + [[package]] name = "ipnet" version = "2.5.0" @@ -1028,6 +1034,29 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "logos" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf8b031682c67a8e3d5446840f9573eb7fe26efe7ec8d195c9ac4c0647c502f1" +dependencies = [ + "logos-derive", +] + +[[package]] +name = "logos-derive" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d849148dbaf9661a6151d1ca82b13bb4c4c128146a88d05253b38d4e2f496c" +dependencies = [ + "beef", + "fnv", + "proc-macro2", + "quote", + "regex-syntax", + "syn", +] + [[package]] name = "matchers" version = "0.1.0" @@ -1613,12 +1642,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "scanlex" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "088c5d71572124929ea7549a8ce98e1a6fd33d0a38367b09027b382e67c033db" - [[package]] name = "schannel" version = "0.1.20" -- cgit v1.3.1