Skip to main content

Crate lua_stdlib

Crate lua_stdlib 

Source
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 and file:* methods.
loadlib
Dynamic library loader for the Lua package library.
math_lib
Standard mathematical library — math.*
os_lib
Lua os standard library.
state_stub
Phase-B reconcile shim: re-exports the canonical LuaState from lua-vm and 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 — Lua table standard library.
utf8_lib
UTF-8 standard library for Lua 5.4.