Cargo Features
[dependencies]
mpris-notifier = { version = "0.1.10", default-features = false, features = ["album-art"] }
- default = album-art
-
The
album-art
feature is set by default whenevermpris-notifier
is added without
somewhere in the dependency tree.default-features = false - album-art default = image, ureq, url
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- ureq album-art
-
Enables ureq
Minimal, blocking/sync HTTP client used to download album art
- url album-art
-
Enables url
URL parsing library, used to determine how to handle album art URLs
- image album-art
-
Enables image ^0.24
Image processing library, used to convert album art into the XDG notification image-data format