Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lilyball/rust-lua
Safe Rust bindings to Lua 5.1
https://github.com/lilyball/rust-lua
Last synced: about 2 months ago
JSON representation
Safe Rust bindings to Lua 5.1
- Host: GitHub
- URL: https://github.com/lilyball/rust-lua
- Owner: lilyball
- License: mit
- Created: 2013-12-04T20:16:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-01-22T04:54:20.000Z (almost 5 years ago)
- Last Synced: 2024-09-03T00:01:48.004Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 239 KB
- Stars: 126
- Watchers: 9
- Forks: 23
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-cn - kballard/rust-lua - ci.org/lilyball/rust-lua.svg">](https://travis-ci.org/lilyball/rust-lua) (Development tools / FFI)
- awesome-rust - kballard/rust-lua - ci.org/lilyball/rust-lua.svg">](https://travis-ci.org/lilyball/rust-lua) (Development tools / FFI)
- awesome-rust - lilyball/rust-lua
- awesome-rust-cn - lilyball/rust-lua
- awesome-rust-zh - kballard/rust-lua - 安全 Rust 绑定到 Lua 5.1[<img src="https://api.travis-ci.org/lilyball/rust-lua.svg">](https://travis-ci.org/lilyball/rust-lua) (开发工具 / FFI)
- awesome-rust - lilyball/rust-lua - Safe Rust bindings to Lua 5.1 (Development tools / FFI)
- awesome-rust - kballard/rust-lua - ci.org/lilyball/rust-lua.svg">](https://travis-ci.org/lilyball/rust-lua) (开发工具 Development tools / 示例 FFI)
- fucking-awesome-rust - lilyball/rust-lua - Safe Rust bindings to Lua 5.1 (Development tools / FFI)
- fucking-awesome-rust - lilyball/rust-lua - Safe Rust bindings to Lua 5.1 (Development tools / FFI)
README
# rust-lua
[![Build Status](https://travis-ci.org/lilyball/rust-lua.svg)](https://travis-ci.org/lilyball/rust-lua)
Copyright 2014 Lily Ballard
## Description
This is a set of Rust bindings to Lua 5.1.
The goal is to provide a (relatively) safe interface to Lua that closely
mirrors its C API.The bindings are complete, but largely untested. Every non-unsafe function
does its best to enforce safety. Lua 5.1.5 was used as a reference for
internal implementation details that affect safety (e.g. stack space needed
for auxlib functions).Unfortunately, there are very few tests. It turns out to be complicated to
properly test the Lua C API, and there are very few examples that could be
used as tests. Please let me know if there are any bugs.## Installation
make all
To run the tests, use the test make target:
make test