gmod

Crates.iogmod
lib.rsgmod
version17.0.0
sourcesrc
created_at2021-09-17 17:05:47.524805
updated_at2023-04-12 17:41:01.388943
descriptionA swiss army knife for creating binary modules for Garry's Mod in Rust
homepage
repositoryhttps://github.com/WilliamVenner/gmod-rs
max_upload_size
id452877
size73,607
William (WilliamVenner)

documentation

README

crates.io

docs.rs

⚙ gmod-rs

A swiss army knife for creating binary modules for Garry's Mod in Rust.

Examples

Click here to see examples.

Nightly requirement

Currently, this crate requires the Rust Nightly compiler to be used.

This is because of the nature of Rust <-> C FFI (which is used extensively in this crate for interfacing with Lua) and the undefined behaviour that occurs when Lua performs long jumps out of functions during errors, or when Rust panics and unwinds out of a foreign stack frame. The C-unwind ABI is used to prevent this undefined behaviour.

Commit count: 104

cargo fmt