aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-06-11 09:58:56 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-06-11 09:58:56 +0200
commiteed126b31e7a94d16bc4aa7ef5c2d81e45a28569 (patch)
treee4be1e6e6a7c582c535a74425aaf868938d8de55
parentchore(ci): pin actions to sha for hardening (diff)
downloadsl0pstatus-eed126b31e7a94d16bc4aa7ef5c2d81e45a28569.tar.gz
sl0pstatus-eed126b31e7a94d16bc4aa7ef5c2d81e45a28569.tar.xz
sl0pstatus-eed126b31e7a94d16bc4aa7ef5c2d81e45a28569.zip
chore: further bump cargo deps
-rw-r--r--Cargo.lock84
-rw-r--r--Cargo.toml16
-rw-r--r--src/render.rs6
3 files changed, 74 insertions, 32 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4d4d519..e5146a4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -480,9 +480,9 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
[[package]]
name = "cached"
-version = "0.46.1"
+version = "0.51.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7c8c50262271cdf5abc979a5f76515c234e764fa025d1ba4862c0f0bcda0e95"
+checksum = "dd93a9f06ec296ca66b4c26fafa9ed63f32c473d7a708a5f28563ee64c948515"
dependencies = [
"ahash",
"cached_proc_macro",
@@ -495,14 +495,14 @@ dependencies = [
[[package]]
name = "cached_proc_macro"
-version = "0.18.1"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c878c71c2821aa2058722038a59a67583a4240524687c6028571c9b395ded61f"
+checksum = "771aa57f3b17da6c8bcacb187bb9ec9bc81c8160e72342e67c329e0e1651a669"
dependencies = [
"darling",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.66",
]
[[package]]
@@ -611,7 +611,7 @@ dependencies = [
"clap_lex 0.2.4",
"indexmap 1.9.3",
"once_cell",
- "strsim",
+ "strsim 0.10.0",
"termcolor",
"textwrap 0.16.1",
]
@@ -928,9 +928,9 @@ dependencies = [
[[package]]
name = "darling"
-version = "0.14.4"
+version = "0.20.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850"
+checksum = "83b2eb4d90d12bdda5ed17de686c2acb4c57914f8f921b8da7e112b5a36f3fe1"
dependencies = [
"darling_core",
"darling_macro",
@@ -938,27 +938,27 @@ dependencies = [
[[package]]
name = "darling_core"
-version = "0.14.4"
+version = "0.20.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0"
+checksum = "622687fe0bac72a04e5599029151f5796111b90f1baaa9b544d807a5e31cd120"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
- "strsim",
- "syn 1.0.109",
+ "strsim 0.11.1",
+ "syn 2.0.66",
]
[[package]]
name = "darling_macro"
-version = "0.14.4"
+version = "0.20.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e"
+checksum = "733cabb43482b1a1b53eee8583c2b9e8684d592215ea83efd305dd31bc2f0178"
dependencies = [
"darling_core",
"quote",
- "syn 1.0.109",
+ "syn 2.0.66",
]
[[package]]
@@ -2669,6 +2669,15 @@ dependencies = [
]
[[package]]
+name = "proc-macro-crate"
+version = "3.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284"
+dependencies = [
+ "toml_edit",
+]
+
+[[package]]
name = "proc-macro-error"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2929,9 +2938,9 @@ dependencies = [
[[package]]
name = "rstest"
-version = "0.19.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d5316d2a1479eeef1ea21e7f9ddc67c191d497abc8fc3ba2467857abbb68330"
+checksum = "9afd55a67069d6e434a95161415f5beeada95a01c7b815508a82dcb0e1593682"
dependencies = [
"futures",
"futures-timer",
@@ -2941,12 +2950,13 @@ dependencies = [
[[package]]
name = "rstest_macros"
-version = "0.19.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04a9df72cc1f67020b0d63ad9bfe4a323e459ea7eb68e03bd9824db49f9a4c25"
+checksum = "4165dfae59a39dd41d8dec720d3cbfbc71f69744efb480a3920f5d4e0cc6798d"
dependencies = [
"cfg-if",
"glob",
+ "proc-macro-crate",
"proc-macro2",
"quote",
"regex",
@@ -3395,6 +3405,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
+name = "strsim"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+
+[[package]]
name = "strum"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3716,6 +3732,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7c4ceeeca15c8384bbc3e011dbd8fccb7f068a440b752b7d9b32ceb0ca0e2e8"
[[package]]
+name = "toml_datetime"
+version = "0.6.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf"
+
+[[package]]
+name = "toml_edit"
+version = "0.21.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
+dependencies = [
+ "indexmap 2.2.6",
+ "toml_datetime",
+ "winnow",
+]
+
+[[package]]
name = "tracing"
version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4100,7 +4133,7 @@ checksum = "a75e78c0cc60a76de5d93f9dad05651105351e151b6446ab305514945d7588aa"
dependencies = [
"log",
"ordered-float 3.9.2",
- "strsim",
+ "strsim 0.10.0",
"thiserror",
"wezterm-dynamic-derive",
]
@@ -4113,7 +4146,7 @@ checksum = "dfb128bacfa86734e07681fb6068e34c144698e84ee022d6e009145d1abb77b5"
dependencies = [
"log",
"ordered-float 4.2.0",
- "strsim",
+ "strsim 0.10.0",
"thiserror",
"wezterm-dynamic-derive",
]
@@ -4321,6 +4354,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
[[package]]
+name = "winnow"
+version = "0.5.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
name = "write16"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index cfb7e6d..539eb98 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,20 +16,20 @@ bench = []
tracing = []
[dependencies]
-zellij-tile = "0.40.0"
-chrono = { version = "0.4.35", default-features = false }
-regex = "1.10.0"
+zellij-tile = "0.40.1"
+chrono = { version = "0.4.38", default-features = false }
+regex = "1.10.5"
chrono-tz = "0.9.0"
-anyhow = "1.0.75"
-anstyle = "1.0.2"
-uuid = { version = "1.6.1", features = ["v4"] }
+anyhow = "1.0.86"
+anstyle = "1.0.7"
+uuid = { version = "1.8.0", features = ["v4"] }
lazy_static = "1.4.0"
-cached = { version = "0.46.1", features = ["wasm"] }
+cached = { version = "0.51.3", features = ["wasm"] }
console = "0.15.8"
tracing-subscriber = "0.3.18"
tracing = "0.1.40"
kdl = "4.6.0"
-rstest = "0.19.0"
+rstest = "0.21.0"
itertools = "0.13.0"
[dev-dependencies]
diff --git a/src/render.rs b/src/render.rs
index 857db82..ee4c3b0 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -40,7 +40,7 @@ pub struct FormattedPart {
}
#[cached(
- type = "SizedCache<String, FormattedPart>",
+ ty = "SizedCache<String, FormattedPart>",
create = "{ SizedCache::with_size(100) }",
convert = r#"{ (format.to_owned()) }"#
)]
@@ -49,7 +49,7 @@ pub fn formatted_part_from_string_cached(format: &str) -> FormattedPart {
}
#[cached(
- type = "SizedCache<String, Vec<FormattedPart>>",
+ ty = "SizedCache<String, Vec<FormattedPart>>",
create = "{ SizedCache::with_size(100) }",
convert = r#"{ (config.to_owned()) }"#
)]
@@ -286,7 +286,7 @@ fn hex_to_rgb(s: &str) -> anyhow::Result<Vec<u8>> {
}
#[cached(
- type = "SizedCache<String, Option<Color>>",
+ ty = "SizedCache<String, Option<Color>>",
create = "{ SizedCache::with_size(100) }",
convert = r#"{ (color.to_owned()) }"#
)]