Cargo Features
[dependencies]
tplay = { version = "0.6.0", default-features = false, features = ["mpv_0_34", "mpv_0_35", "rodio_audio"] }
- default = rodio_audio
-
The
rodio_audio
feature is set by default whenevertplay
is added without
somewhere in the dependency tree.default-features = false - mpv_0_34 = libmpv
- mpv_0_35 = libmpv-sirno
- rodio_audio default = rodio
-
Affects
audio::rodio_player
…
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.
- libmpv mpv_0_34?
-
Enables libmpv
MPV 0.34
- libmpv-sirno mpv_0_35?
-
Enables libmpv-sirno
Temporary fix for MPV 0.35 (and probably later)
- rodio rodio_audio
-
Enables rodio
Audio playback alternative to mpv