Jakobzs / lua-latest-sys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:C 64.5%Language:HTML 29.2%Language:Rust 4.8%Language:Makefile 0.8%Language:Roff 0.5%Language:CSS 0.2%Language:C++ 0.0%