--features sound (#63)

to enable `sound` notification for local builds only. Needed to avoid
endless issues by building the app for different platforms. Sound
support can be hard.
This commit is contained in:
Jens Krause
2025-02-04 17:39:50 +01:00
committed by GitHub
parent a54b1b409a
commit 7ff167368d
5 changed files with 33 additions and 9 deletions

View File

@@ -31,5 +31,8 @@ notify-rust = "4.11.4"
rodio = { version = "0.20.1", features = [
"symphonia-mp3",
"symphonia-wav",
], default-features = false }
thiserror = "2.0.11"
], default-features = false, optional = true }
thiserror = { version = "2.0.11", optional = true }
[features]
sound = ["dep:rodio", "dep:thiserror"]