Cargo Features
[dependencies]
songrec = { version = "0.4.3", default-features = false, features = ["gui", "pulse", "mpris", "ffmpeg"] }
- default = ffmpeg, gui, mpris, pulse
-
These default features are set whenever
songrec
is added without
somewhere in the dependency tree.default-features = false - gui default = app_dirs, directories, gdk, gdk-pixbuf, gio, gtk, percent-encoding
- pulse default = libpulse-binding, pulsectl-rs
- mpris default = mpris-player
- ffmpeg default
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.
- gtk gui
-
Enables gtk ^0.9.2
GUI deps
For the GUI - gdk gui
-
Enables gdk ^0.13.2
- gio gui
-
Enables gio ^0.9.1
- percent-encoding gui
-
Enables percent-encoding
For percent-encoding contents in URLs
- gdk-pixbuf gui
-
Enables gdk-pixbuf ^0.9.0
- directories gui
-
Enables directories ^4.0
- app_dirs gui
-
Enables app_dirs ^1.2.1
For obtaining and creating either the %APPDATA%, the dotfile path or similar
- libpulse-binding unix pulse
- mpris-player unix mpris
- pulsectl-rs unix pulse