px8_plugin_lua

Crates.iopx8_plugin_lua
lib.rspx8_plugin_lua
version0.0.11
sourcesrc
created_at2017-07-14 09:42:06.623068
updated_at2017-07-14 09:42:06.623068
descriptionBindings to Lua 5.3
homepage
repositoryhttps://github.com/jcmoyer/rust-lua53
max_upload_size
id23331
size1,203,603
Development (github:fission-codes:development)

documentation

https://docs.rs/lua

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.

Commit count: 223

cargo fmt