MPV plugins in Rust
Bindings for libmpv client API that allow you to create plugins for MPV in Rust.
This is a fork of TheCactusVert/mpv-client that supports developing mpv c plugins on windows.
Currently, this crate is compatible with the original one.
Example
Here is an example for your Cargo.toml
:
[]
= "mpv-plugin"
= "0.1.0"
= "2021"
[]
= "mpv_plugin"
= ["cdylib"]
[]
= "0.5.0"
And then the code src/lib.rs
:
use ;
extern "C"