3 releases
0.0.2 | Oct 20, 2022 |
---|---|
0.0.1 | Oct 19, 2022 |
0.0.0 | Oct 19, 2022 |
#27 in #latest
800KB
20K
SLoC
lua-latest-sys
Unsafe Rust bindings for the latest Lua version (5.4.4).
Motivation
Lua is not a very backwards compatible friendly language[1][2].
The goal of this repository is to support the latest and only the latest version of the Lua language.
Example
Add the following line to your Cargo.toml file.
lua-latest-sys = "0.0.2"
Now you can utilize lua-latest-sys
in your crate. For usage of this crate, please refer to the examples.
Creating the bindings
The bindings are generated with bindgen
using the following command.
bindgen lua.hpp -o bindings.rs --no-layout-tests --size_t-is-usize --default-macro-constant-type signed