Expand description
Lua 5.4 standard library — runtime stdlib crate.
Each module corresponds to one C source under reference/lua-5.4.7/src/. See ANALYSES/file_deps.txt for the mapping.
Modules§
- auxlib
- Auxiliary library: helper functions for building Lua libraries.
- base
- Base library — Lua’s built-in functions (
print,type,pairs,pcall, …). - coro_
lib - Coroutine library — port of
lcorolib.c. - debug_
lib - Debug library — Rust port of
ldblib.c. - init
- Initialization of standard libraries for Lua.
- io_lib
- Standard I/O library —
io.*functions andfile:*methods. - loadlib
- Dynamic library loader for the Lua
packagelibrary. - math_
lib - Standard mathematical library —
math.* - os_lib
- Lua
osstandard library. - sandbox
- Shared sandbox helpers: the canonical strict capability-strip list and a
global-stripping routine, used by both the CLI
--sandboxflag andlua-rs-runtime’sSandboxConfig::strict()so the dangerous-globals list has a single source of truth. - state_
stub - Phase-B reconcile shim: re-exports the canonical
LuaStatefromlua-vmand provides an extension trait holding every method the Phase-A stdlib translation used to call on the Phase-A stub. - string_
lib - Standard library for string operations and pattern-matching.
- table_
lib - Rust port of
ltablib.c— Luatablestandard library. - utf8_
lib - UTF-8 standard library for Lua 5.4.