luadec-rust 0.1.0

Safe Rust bindings for LuaDec - A Lua 5.1 bytecode decompiler
Documentation

luadec-sys

Crates.io Documentation

Raw FFI bindings for LuaDec, a Lua 5.1 bytecode decompiler.

This crate provides low-level unsafe bindings to the C library. For a safe, high-level API, use the luadec crate instead.

Requirements

  • C compiler (gcc/clang)
  • make
  • Lua 5.1 source code (included as git submodule)

Platform Support

  • Linux (tested)
  • macOS (tested)
  • Other Unix-like systems (should work)

Safety

This crate is unsafe by design as it provides raw FFI bindings. All functions can cause undefined behavior if used incorrectly. Use the safe luadec wrapper crate instead.

License

This project follows the same license as the original LuaDec project. Lua itself is licensed under the MIT license.