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 default-features = false somewhere in the dependency tree.

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