From 7011609da64581b9ffbf4df46ef16ffb8d65cebc Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Sat, 28 Sep 2024 19:08:18 +0900 Subject: [PATCH] chore: update deps --- Cargo.lock | 106 +++++++++++++++++++++++++++++++++++++++---- lala_bar/Cargo.toml | 2 +- lala_bar/src/main.rs | 3 +- 3 files changed, 101 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aaa0b1e..5a1bcfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -940,6 +940,41 @@ dependencies = [ "zbus", ] +[[package]] +name = "darling" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.77", +] + +[[package]] +name = "darling_macro" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.77", +] + [[package]] name = "data-url" version = "0.3.1" @@ -1240,6 +1275,12 @@ dependencies = [ "spin", ] +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + [[package]] name = "font-types" version = "0.6.0" @@ -1862,9 +1903,9 @@ dependencies = [ [[package]] name = "iced_layershell" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f371f8ce2942df542270905c5e825f242bcae1bb9dec5cf88211eb559654b1f" +checksum = "fd8db631c95dd7f9e66574cdbe0357c4cfb58e24086548f5d6207c01e5102b9f" dependencies = [ "futures", "iced", @@ -1883,10 +1924,12 @@ dependencies = [ [[package]] name = "iced_layershell_macros" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d4a0eeab61c0ec4c7e87883fc89fe0b797aa1941da30e8925ebe12e01da6923" +checksum = "c73bd915b37876b60094f3ebd7927a2ae49ad688e2bf9331e95a3e8205f2960d" dependencies = [ + "darling", + "manyhow", "proc-macro2", "quote", "syn 2.0.77", @@ -2006,6 +2049,12 @@ dependencies = [ "zbus", ] +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + [[package]] name = "idna" version = "0.5.0" @@ -2189,9 +2238,9 @@ dependencies = [ [[package]] name = "layershellev" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413fc578a0f06874c6bd9bf05a971397036266ee5441f6723e8b2b6b9f619eff" +checksum = "861a7ed1dce31957c76c0789c45bc3a991fb0c7584b128d8ef7527e27d910d4e" dependencies = [ "bitflags 2.6.0", "log", @@ -2316,6 +2365,30 @@ dependencies = [ "libc", ] +[[package]] +name = "manyhow" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b33efb3ca6d3b07393750d4030418d594ab1139cee518f0dc88db70fec873587" +dependencies = [ + "darling_core", + "manyhow-macros", + "proc-macro2", + "quote", + "syn 2.0.77", +] + +[[package]] +name = "manyhow-macros" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46fce34d199b78b6e6073abf984c9cf5fd3e9330145a93ee0738a7443e371495" +dependencies = [ + "proc-macro-utils", + "proc-macro2", + "quote", +] + [[package]] name = "memchr" version = "2.7.4" @@ -3043,6 +3116,17 @@ dependencies = [ "toml_edit", ] +[[package]] +name = "proc-macro-utils" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeaf08a13de400bc215877b5bdc088f241b12eb42f0a548d3390dc1c56bb7071" +dependencies = [ + "proc-macro2", + "quote", + "smallvec", +] + [[package]] name = "proc-macro2" version = "1.0.86" @@ -3668,6 +3752,12 @@ dependencies = [ "float-cmp", ] +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + [[package]] name = "svg_fmt" version = "0.4.3" @@ -4264,9 +4354,9 @@ dependencies = [ [[package]] name = "waycrate_xkbkeycode" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b28bc4368a57ca2f6086a3e0bdcb9328f239e3fe28fbafe5c14aeb0ad1b56e17" +checksum = "1e38cfb9a7db9e8a988c6903fe6f0119d46335e0d7080148c3509ebeea7fd73d" dependencies = [ "bitflags 2.6.0", "log", diff --git a/lala_bar/Cargo.toml b/lala_bar/Cargo.toml index 7dff293..2a8ffb4 100644 --- a/lala_bar/Cargo.toml +++ b/lala_bar/Cargo.toml @@ -21,7 +21,7 @@ iced = { version = "0.13.1", features = [ "markdown" ] } iced_runtime = "0.13.0" -iced_layershell = "0.7.1" +iced_layershell = "0.8.0" tokio = { version = "1.40", features = ["full"] } iced_futures = "0.13.1" env_logger = "0.11.5" diff --git a/lala_bar/src/main.rs b/lala_bar/src/main.rs index bad174c..2d3a8d0 100644 --- a/lala_bar/src/main.rs +++ b/lala_bar/src/main.rs @@ -558,7 +558,8 @@ impl LalaMusicBar { } } -#[to_layer_message(multi, info_name = "LaLaInfo", derives = "Debug Clone")] +#[to_layer_message(multi, info_name = "LaLaInfo")] +#[derive(Debug, Clone)] enum Message { RequestPre, RequestNext,