diff --git a/Cargo.lock b/Cargo.lock index ab977d4..0c0ab80 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,9 +19,9 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.37.2" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "165859e9e55f79d67b96c5d96f4e88b6f2695a1972849c15a6a3f5c59fc2c003" +checksum = "8927b0664f5c5a98265138b7e3f90aa19a6b21353182469ace36d4ac527b7b1b" dependencies = [ "memchr", ] @@ -48,7 +48,7 @@ dependencies = [ [[package]] name = "tauri-winrt-notification" -version = "0.7.1" +version = "0.7.2" dependencies = [ "quick-xml", "thiserror", diff --git a/Cargo.toml b/Cargo.toml index bad9026..d2d7038 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.74" default-target = "x86_64-pc-windows-msvc" [dependencies] -quick-xml = "0.37" +quick-xml = "0.38" thiserror = "2" windows-version = "0.1" diff --git a/examples/simple.rs b/examples/simple.rs index cdbef67..97cd8c2 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -15,7 +15,7 @@ fn main() { .duration(Duration::Short) .on_activated(move |action| { match action { - Some(action) => println!("You've clicked {}!", action), + Some(action) => println!("You've clicked {action}!"), None => println!("You've clicked me!"), } exit(0); diff --git a/src/lib.rs b/src/lib.rs index 9885269..57c8bf2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -481,14 +481,12 @@ impl Toast { None => "