Sreyas-Sreelal/rs-plugin-boilerplate
Boilerplate for developing SA-MP plugins in Rust
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.
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
- sampctl/pawn-stdlibnie ma go w tym katalogu
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-generateSetup 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.gitRename the directory and project configuration in Cargo.toml
Setup compiler
Download rustup
Install stable compiler
rustup install stable-i686
Building
make setupto setup testing servermake releasebuild the pluginmake runrun the pawn tests
Notes
Rust requires Microsoft Visual C++ Build Tools 2017 to build in Windows
Install
libgcc_32libs for linux
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