lua-latest-sys

Crates.iolua-latest-sys
lib.rslua-latest-sys
version0.0.2
sourcesrc
created_at2022-10-19 16:58:38.959208
updated_at2022-10-20 16:36:42.908465
descriptionUnsafe bindings to latest Lua's C API (5.4.4)
homepage
repositoryhttps://github.com/jakobzs/lua-latest-sys
max_upload_size
id691788
size1,413,228
Jakob (Jakobzs)

documentation

README

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
Commit count: 11

cargo fmt