classicube-sys
Rust bindings to ClassiCube
Example
Add this to Cargo.toml
:
[]
= ["cdylib"]
[]
= { = "https://github.com/SpiralP/rust-classicube-sys.git" }
lib.rs
:
use *;
use ;
extern "C"
pub static Plugin_ApiVersion: c_int = 1;
pub static mut Plugin_Component: IGameComponent = IGameComponent ;
Copy the .dll
/.so
/.dylib
from target/{debug,release}/
to the plugins
folder where your ClassiCube executable is found