samp.directory
← Скрипты и библиотеки

Sreyas-Sreelal/rs-plugin-boilerplate

Boilerplate for developing SA-MP plugins in Rust

Плагин★ 12обновлён сент. 2024 г.Без лицензииRustsampctl
Открыть на GitHub

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

Установка через sampctl

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

Выполните в папке проекта. sampctl скачает пакет и его зависимости.

Зависит от 1 пакета

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью