Expand description
Embedded Lua bindings for byte-first path normalization.
This module is available with the lua feature. It does not define a
cdylib Lua module; hosts embed it into their own mlua::Lua state and
choose the namespace they want.
The lua feature deliberately does not select an mlua backend. The host
process owns the Lua runtime decision and should enable exactly one shared
backend in the final dependency graph. DreamWeave recommends LuaJIT in 5.2
compatibility mode and does not currently test these bindings against other
Lua runtimes. Use this crate’s standalone-lua feature only for documentation
builds, examples, and local smoke tests that do not already have a central Lua
runtime crate.
Returned Lua strings may contain embedded NUL bytes; C hosts must use length-aware Lua APIs rather than C string length.
Constants§
- MODULE_
NAME - Default Lua global name used by
register_module.
Functions§
- create_
module - Create the
dream_pathLua API table without registering it globally. - register_
module - Register the Lua API table as the
dream_pathglobal. - register_
module_ as - Register the Lua API table under a caller-selected global name.