pub fn register_all(lua: &Lua, namespace: &str) -> LuaResult<LuaTable>Expand description
Register all enabled modules with default configuration.
Equivalent to register_all_with(lua, namespace, Config::default()).
ยงWarning
The default configuration uses policy::Unrestricted, which allows
Lua scripts to access any file on the filesystem. For untrusted
scripts, use register_all_with with a [policy::Sandboxed] policy.