mlua-stdlib

Crates.iomlua-stdlib
lib.rsmlua-stdlib
version0.1.0
created_at2024-02-10 12:46:13.258884+00
updated_at2025-09-24 13:06:10.219931+00
descriptionStandard library bindings for mlua
homepage
repository
max_upload_size
id1134928
size93,765
owners (github:mlua-rs:owners)

documentation

README

mlua-stdlib

crates.io docs.rs codecov.io

A standard library for mlua, providing common functionality and utilities for Lua scripting in Rust applications.

Features

mlua-stdlib provides a collection of modules that extend Lua with useful functionality:

  • assertions - Useful assertion functions for testing and validation
  • testing - A testing framework with hooks and reporting
  • env - Environment functions

With the following optional modules:

  • json (feature) - JSON encoding/decoding
  • regex (feature) - Regular expressions support
  • yaml (feature) - YAML encoding/decoding

The following feature flags are passed to mlua, when enabled:

  • lua51, lua52, lua53, lua54, luau - Lua version selection
  • send - Enable Send+Sync support
  • vendored - Use vendored Lua

Documentation

The project is still in early stages, the API documentation will be published on docs.rs or in the repository once stabilized.

Examples

Check the tests/lua/ directory for comprehensive examples of how to use each module.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 0

cargo fmt