samp.directory
← Skrypty i biblioteki

Sreyas-Sreelal/rs-plugin-boilerplate

Boilerplate for developing SA-MP plugins in Rust

Plugin★ 12zaktualizowano wrz 2024Brak licencjiRustsampctl
Otwórz na GitHubie

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

Zainstaluj za pomocą sampctl

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

Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

Zależy od 1 pakietu

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

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

Sreyas-Sreelal/rs-plugin-boilerplate: Plugin SA-MP | samp.directory