Boilerplate for developing SA-MP plugins in Rust
-
Install cargo generate (requires git,open-ssl)
cargo install cargo-generate -
Setup project using cargo generate
cargo generate --git https://github.com/Sreyas-Sreelal/rs-plugin-boilerplate.git
-
Clone this repo
git clone https://github.com/Sreyas-Sreelal/rs-plugin-boilerplate.git -
Rename the directory and project configuration in Cargo.toml
-
Download rustup
-
Install stable compiler
rustup install stable-i686
make setupto setup testing servermake releasebuild the pluginmake runrun the pawn tests
-
Rust requires Microsoft Visual C++ Build Tools 2017 to build in Windows
-
Install
libgcc_32libs for linux