https://github.com/williamvenner/gmod-module-base-rs
Base Garry's Mod binary module (Rust)
https://github.com/williamvenner/gmod-module-base-rs
binary binary-module garrys-mod garrysmod glua gmod module modules rust
Last synced: 1 day ago
JSON representation
Base Garry's Mod binary module (Rust)
- Host: GitHub
- URL: https://github.com/williamvenner/gmod-module-base-rs
- Owner: WilliamVenner
- Created: 2022-01-04T21:47:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T22:01:56.000Z (over 3 years ago)
- Last Synced: 2024-10-11T11:34:18.872Z (6 months ago)
- Topics: binary, binary-module, garrys-mod, garrysmod, glua, gmod, module, modules, rust
- Language: Rust
- Homepage:
- Size: 1.95 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gmod-module-base-rs
A base for developing Garry's Mod binary modules in Rust.
# Getting Started
1. [Install Rust](https://www.rust-lang.org/tools/install)
2. [Download](https://github.com/WilliamVenner/gmod-module-base-rs/archive/refs/heads/master.zip) or `git clone` this repository
3. Open the cloned repository in a command prompt or terminal
4. Type `cargo build`Your built module can be found in `target/debug`!
### Linux Note
When building a Linux module, you'll find it has the extension `.so`, you can simply change it to `.dll` and it will still work fine in Garry's Mod.
# What next?
* Read the [`gmod` crate documentation](https://docs.rs/gmod/latest/gmod/)
* Read the [Rust book](https://doc.rust-lang.org/book/)
* Build in [release mode](https://doc.rust-lang.org/book/ch14-01-release-profiles.html)!