Installation
Add this crate to your project by running
cargo add dcc-oxidizer
cargo add image
cargo add libc
cargo add cbindgen --build
Or add this to your Cargo.toml file
[dependancies]
dcc-oxidizer = "0.1.2"
image = ">=0.25.0"
libc = ">=0.2.0"
[build-dependencies]
cbindgen = ">=0.30.0"
Make sure your project is configured as a lib. For example:
[lib]
name = "example_plugin"
crate-type = ["staticlib"]
path = "src/lib.rs"
For a working example, please take a look at the Nuke example project Cargo.toml.