Cargo Features
[dependencies]
libmpv = { version = "2.0.1", default-features = false, features = ["protocols", "render", "build_libmpv"] }
- default = protocols, render
-
These default features are set whenever
libmpv
is added without
somewhere in the dependency tree.default-features = false - protocols default
-
Enable custom protocol callbacks
Affects
mpv::protocol
… - render default
-
Enable custom rendering
Affects
mpv::render
… - build_libmpv
-
build libmpv automatically, provided MPV_SOURCE is set