luadec-rust 0.1.2

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

luadec-rust

Crates.io Documentation

Safe Rust bindings for LuaDec, a Lua 5.1 bytecode decompiler.

This crate provides a safe, high-level API for decompiling Lua 5.1 bytecode. It wraps the unsafe FFI bindings to LuaDec in a memory-safe interface.

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 provides a safe interface to LuaDec by wrapping the unsafe FFI calls in memory-safe abstractions. All public APIs are designed to prevent undefined behavior and memory safety issues.

License

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