Sreyas-Sreelal/rs-plugin-boilerplate
Boilerplate for developing SA-MP plugins in Rust
This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.
Install with sampctl
sampctl package install Sreyas-Sreelal/rs-plugin-boilerplate
Run this in your project folder. sampctl downloads the package and what it depends on.
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
Depends on 1 package
- sampctl/pawn-stdlibnot in this directory
README.md
rs-plugin-boilerplate
Boilerplate for developing SA-MP plugins in Rust
Installation
Using cargo generate
Install cargo generate (requires git,open-ssl)
cargo install cargo-generateSetup project using cargo generate
cargo generate --git https://github.com/Sreyas-Sreelal/rs-plugin-boilerplate.git
Alternate method
Clone this repo
git clone https://github.com/Sreyas-Sreelal/rs-plugin-boilerplate.gitRename the directory and project configuration in Cargo.toml
Setup compiler
Download rustup
Install stable compiler
rustup install stable-i686
Building
make setupto setup testing servermake releasebuild the pluginmake runrun the pawn tests
Notes
Rust requires Microsoft Visual C++ Build Tools 2017 to build in Windows
Install
libgcc_32libs for linux
boilerplatepluginrustsa-mpsa-mp-pluginsamp
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing