samp.directory
← Scripts and libraries

Sreyas-Sreelal/rs-plugin-boilerplate

Boilerplate for developing SA-MP plugins in Rust

Plugin★ 12updated Sep 2024No licenceRustsampctl
Open on GitHub

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.

Try it in the Pawn compiler →

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

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

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