Cargo Features
[dependencies]
libmpv2 = { version = "4.1.0", default-features = false, features = ["protocols", "render", "build_libmpv"] }
- default = protocols, render
-
These default features are set whenever
libmpv2
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