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 setup
to setup testing servermake release
build the pluginmake run
run the pawn tests
-
Rust requires Microsoft Visual C++ Build Tools 2017 to build in Windows
-
Install
libgcc_32
libs for linux