| Crates.io | cargo-altvup |
| lib.rs | cargo-altvup |
| version | 0.3.7 |
| created_at | 2023-05-28 21:56:45.899312+00 |
| updated_at | 2025-02-13 16:45:43.449767+00 |
| description | Rust module + alt:V server installer |
| homepage | |
| repository | https://github.com/xxshady/altv-rust |
| max_upload_size | |
| id | 876742 |
| size | 37,770 |
altvupaltvup is an installer for the Rust module on alt:V.
It can also download alt:V server binaries & data files.
If you are familiar with
altv-pkg,altvupis Rust version of it
Recommended: (if you don't have it: cargo-binstall)
cargo binstall cargo-altvup
Or you can compile from source code: (but it's gonna take longer)
cargo install cargo-altvup
cargo altvup <branch> - it will install rust-module (more about it here), alt:V server files (altv-server(.exe) binary, data bins, etc.) and minimal server config if it doesn't exists.
<branch> - alt:V branch, possible values: release or rc
For example: cargo altvup release
There are also some optional parameters:
--force-recompileCompile latest rust-module again (if rust-module binary already exists it wont be installed by default).
For example: cargo altvup release --force-recompile
--reloadingEnable reloading feature for development.
For example: cargo altvup release --reloading
--dont-compileDon't download altv-rust source code and compile rust-module binary.
For example: cargo altvup release --dont-compile
--src-dirThe directory to which altv-rust source code will be downloaded (.altvup-src by default).
For example: cargo altvup release --src-dir=my_dir
--jsv2Download serverside part of jsv2 module (disabled by default).
For example: cargo altvup release --jsv2
--voice-serverDownload external voice server binary (disabled by default).
For example: cargo altvup release --voice-server
--rust-module-releases-pagesHow many pages to fetch from github releases API to search for rust-module source code (2 by default).
Increase it if you have "Cannot find altv-rust release of branch..." error
For example: cargo altvup release --rust-module-releases-pages=5
--pdbNOTE: Windows only
Copy pdb file of rust-module to modules/rust-module directory to enable backtraces for rust-module binary.
For example: cargo altvup release --pdb
rust-module is installedIt downloads altv-rust source code to .altvup-src directory (see also: --src-dir) and compiles rust-module (.so or .dll) to the modules/rust-module directory, after compilation .altvup-src directory will be deleted.