samp.directory
← Skripte und Bibliotheken

Sreyas-Sreelal/rs-plugin-boilerplate

Boilerplate for developing SA-MP plugins in Rust

Plugin★ 12aktualisiert Sept. 2024Keine LizenzRustsampctl
Auf GitHub öffnen

Dieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.

Mit sampctl installieren

sampctl package install Sreyas-Sreelal/rs-plugin-boilerplate

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

Hängt von 1 Paket ab

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

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden