Popularity
4.6
Declining
Activity
0.0
Stable
112
9
31

Programming language: Rust
Tags: Development Tools     FFI     Lua    

rust-lua53 alternatives and similar packages

Based on the "Lua" category

Do you think we are missing an alternative of rust-lua53 or a related project?

Add another 'Lua' Package

README

rust-lua53 Build Status Documentation

Aims to be complete Rust bindings for Lua 5.3 and beyond. Currently, master is tracking Lua 5.3.3.

Requires a Unix-like environment. On Windows, MSYS2 is supported.

You will need:

  • wget (fetch on FreeBSD/Dragonfly, curl on MacOS)
  • tar
  • make
  • gcc

Using crates.io

Add this to your Cargo.toml:

[dependencies]
lua = "*"

Using git

Add this to your Cargo.toml:

[dependencies.lua]
git = "https://github.com/jcmoyer/rust-lua53"

Example

extern crate lua;

fn main() {
  let mut state = lua::State::new();
  state.open_libs();
  state.do_string("print('hello world!')");
}

License

Licensed under the MIT License, which is the same license Lua is distributed under. Refer to LICENSE.md for more information.


*Note that all licence references and agreements mentioned in the rust-lua53 README section above are relevant to that project's source code only.