From c24e154bb2b2299c68abbff8356e58008c875dbe Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 20 Jun 2023 23:04:56 +0100 Subject: improve skweet widget, namely time formatting --- Cargo.lock | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 67ba3e7..12f9291 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -260,6 +260,15 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "chrono-humanize" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32dce1ea1988dbdf9f9815ff11425828523bd2a134ec0805d2ac8af26ee6096e" +dependencies = [ + "chrono", +] + [[package]] name = "chrono-tz" version = "0.6.3" @@ -316,7 +325,7 @@ dependencies = [ "rand", "sha2", "subtle", - "time 0.3.19", + "time 0.3.22", "version_check", ] @@ -1194,7 +1203,7 @@ dependencies = [ "static_assertions", "tap-reader", "thiserror", - "time 0.3.19", + "time 0.3.22", "tokio", "tokio-util", "url", @@ -1212,7 +1221,7 @@ dependencies = [ "serde", "static_assertions", "thiserror", - "time 0.3.19", + "time 0.3.22", ] [[package]] @@ -1904,7 +1913,7 @@ dependencies = [ "serde_json", "state", "tempfile", - "time 0.3.19", + "time 0.3.22", "tokio", "tokio-stream", "tokio-util", @@ -1964,7 +1973,7 @@ dependencies = [ "smallvec", "stable-pattern", "state", - "time 0.3.19", + "time 0.3.22", "tokio", "uncased", ] @@ -2152,6 +2161,7 @@ name = "site" version = "0.1.0" dependencies = [ "chrono", + "chrono-humanize", "listenbrainz", "mastodon-async", "reqwest", @@ -2159,6 +2169,7 @@ dependencies = [ "rocket_dyn_templates", "serde", "serde_json", + "time 0.3.22", "tokio", ] @@ -2361,9 +2372,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.19" +version = "0.3.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53250a3b3fed8ff8fd988587d8925d26a83ac3845d9e03b220b37f34c2b8d6c2" +checksum = "ea9e1b3cf1243ae005d9e74085d4d542f3125458f3a81af210d901dcd7411efd" dependencies = [ "itoa", "serde", @@ -2373,15 +2384,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" +checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.7" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a460aeb8de6dcb0f381e1ee05f1cd56fcf5a5f6eb8187ff3d8f0b11078d38b7c" +checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b" dependencies = [ "time-core", ] -- cgit