Skip to content
Boilerplate for developing SA-MP plugins in Rust
Rust Makefile Pawn
Branch: master
Clone or download
Latest commit d07af83 Jun 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include avoid unnecessary namings May 20, 2019
pawn-tests avoid unnecessary namings May 20, 2019
src fix errors Jun 28, 2019
.gitattributes sourcepawn fix May 8, 2019
.gitignore remove samp.json and use pawn.json instead Apr 18, 2019
.travis.yml update to latest sdk #3 Apr 18, 2019
Cargo.toml remove unnecessary dependencies,fix native name Apr 18, 2019
README.md
appveyor.yml path fix Jun 28, 2019
bintray.json path fix Jun 28, 2019
makefile avoid unnecessary namings May 20, 2019
pawn.json use ysi 5.x as compiler 3.10.9 needs const correction that's not done… May 11, 2019

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-generate

  • Setup 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.git

  • Rename the directory and project configuration in Cargo.toml

Setup compiler

  • Download rustup

  • Install stable compiler

    rustup install stable-i686

Building

  1. make setup to setup testing server
  2. make release build the plugin
  3. make run run the pawn tests

Notes

You can’t perform that action at this time.