chore(deps): update rust crate quick-xml to 0.38 (#49)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <github@fabianlars.de>
This commit is contained in:
renovate[bot]
2025-06-29 11:10:57 +02:00
committed by GitHub
parent 1cbe2d98ec
commit f32f183d97
4 changed files with 10 additions and 12 deletions

6
Cargo.lock generated
View File

@@ -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",

View File

@@ -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"

View File

@@ -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);

View File

@@ -481,14 +481,12 @@ impl Toast {
None => "<audio silent=\"true\" />".to_owned(),
Some(Sound::Default) => "".to_owned(),
Some(Sound::Loop(sound)) => format!(
r#"<audio loop="true" src="ms-winsoundevent:Notification.Looping.{}" />"#,
sound
r#"<audio loop="true" src="ms-winsoundevent:Notification.Looping.{sound}" />"#
),
Some(Sound::Single(sound)) => format!(
r#"<audio src="ms-winsoundevent:Notification.Looping.{}" />"#,
sound
),
Some(sound) => format!(r#"<audio src="ms-winsoundevent:Notification.{}" />"#, sound),
Some(Sound::Single(sound)) => {
format!(r#"<audio src="ms-winsoundevent:Notification.Looping.{sound}" />"#)
}
Some(sound) => format!(r#"<audio src="ms-winsoundevent:Notification.{sound}" />"#),
};
self