Crates.io | px8_plugin_lua |
lib.rs | px8_plugin_lua |
version | 0.0.11 |
source | src |
created_at | 2017-07-14 09:42:06.623068 |
updated_at | 2017-07-14 09:42:06.623068 |
description | Bindings to Lua 5.3 |
homepage | |
repository | https://github.com/jcmoyer/rust-lua53 |
max_upload_size | |
id | 23331 |
size | 1,203,603 |
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:
Add this to your Cargo.toml
:
[dependencies]
lua = "*"
Add this to your Cargo.toml
:
[dependencies.lua]
git = "https://github.com/jcmoyer/rust-lua53"
extern crate lua;
fn main() {
let mut state = lua::State::new();
state.open_libs();
state.do_string("print('hello world!')");
}
Licensed under the MIT License, which is the same license Lua is distributed
under. Refer to LICENSE.md
for more information.