Boilerplate for developing SA-MP plugins in Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include
pawn-tests
src
test
.gitignore
.travis.yml
Cargo.toml
README.md
appveyor.yml
bintray.json
makefile
pawn.json

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 nightly compiler

    • Windows

      rustup install nightly-i686-pc-windows-msvc

    • Linux

      rustup install nightly-i686-unknown-linux-gnu

Building

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

Notes