classicube-sys-4.1.0 has been yanked.
Visit the last successful build:
classicube-sys-4.3.0+ClassiCube.1.3.7
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