Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcmoyer/rust-lua53
Lua 5.3 bindings for Rust
https://github.com/jcmoyer/rust-lua53
Last synced: 7 days ago
JSON representation
Lua 5.3 bindings for Rust
- Host: GitHub
- URL: https://github.com/jcmoyer/rust-lua53
- Owner: jcmoyer
- License: mit
- Created: 2014-11-06T08:39:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-17T07:08:18.000Z (12 months ago)
- Last Synced: 2024-08-10T07:51:07.938Z (3 months ago)
- Language: C
- Homepage:
- Size: 513 KB
- Stars: 158
- Watchers: 13
- Forks: 45
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-rust-cn - jcmoyer/rust-lua53 - ci.org/jcmoyer/rust-lua53.svg?branch=master">](https://travis-ci.org/jcmoyer/rust-lua53) (Development tools / FFI)
- awesome-rust - jcmoyer/rust-lua53 - ci.org/jcmoyer/rust-lua53.svg?branch=master">](https://travis-ci.org/jcmoyer/rust-lua53) (Development tools / FFI)
- awesome-rust - jcmoyer/rust-lua53
- awesome-rust-cn - jcmoyer/rust-lua53
- awesome-rust-zh - jcmoyer/rust-lua53 - Lua 5.3 Rust 的绑定 [<img src="https://api.travis-ci.org/jcmoyer/rust-lua53.svg?branch=master">](https://travis-ci.org/jcmoyer/rust-lua53) (开发工具 / FFI)
- awesome-rust - jcmoyer/rust-lua53 - Lua 5.3 bindings for Rust (Development tools / FFI)
- awesome-rust - jcmoyer/rust-lua53 - ci.org/jcmoyer/rust-lua53.svg?branch=master">](https://travis-ci.org/jcmoyer/rust-lua53) (开发工具 Development tools / 示例 FFI)
- fucking-awesome-rust - jcmoyer/rust-lua53 - Lua 5.3 bindings for Rust (Development tools / FFI)
- fucking-awesome-rust - jcmoyer/rust-lua53 - Lua 5.3 bindings for Rust (Development tools / FFI)
README
# rust-lua53 [![Build Status](https://travis-ci.org/jcmoyer/rust-lua53.svg?branch=master)](https://travis-ci.org/jcmoyer/rust-lua53) [![Documentation](https://docs.rs/lua/badge.svg)](https://docs.rs/lua)
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](https://msys2.github.io/)
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
```rust
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.