mlua is binding to Lua programming language for Rust with a goal to provide safe (as far as it's possible), high-level, easy-to-use, practical, and flexible API. Started as rlua fork, mlua supports Lua 5.4, 5.3, 5.2, 5.1 (including LuaJIT) and Roblox Luau and allows to writing of native Lua modules in Rust as well as the use of Lua in a standalone mode. mlua tested on Windows/macOS/Linux including module mode in GitHub Actions on x86_64 platform and cross-compilation to aarch64 (other targets are also supported).

Features

  • mlua uses feature flags to reduce the amount of dependencies
  • Choose only required set of features
  • Documentation available
  • Activate LuaJIT support with partial compatibility with Lua 5.2
  • Enable async/await support (any executor can be used, eg. tokio or async-std)
  • Add serialization and deserialization support to mlua types using serde framework

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow mlua

mlua Web Site

You Might Also Like
La version gratuite d'Auth0 s'enrichit ! Icon
La version gratuite d'Auth0 s'enrichit !

Gratuit pour 25 000 utilisateurs avec intégration Okta illimitée : concentrez-vous sur le développement de vos applications.

Vous l'avez demandé, nous l'avons fait ! Les versions gratuite et payante d'Auth0 incluent des options qui vous permettent de développer, déployer et faire évoluer vos applications en toute sécurité. Utilisez Auth0 dès maintenant pour découvrir tous ses avantages.
Essayez Auth0 gratuitement
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mlua!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Software Development Software

Registered

2024-07-18