Lua runner with rich builtin stdlib ("lunascript")
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
luna/src/stdlib/mod.rs

16 lines
314 B

mod logging;
mod math;
mod os_ext;
mod sqlite;
mod table;
pub(crate) mod utils;
pub(crate) fn install(lua: &mlua::Lua) -> mlua::Result<()> {
math::install(lua)?;
table::install(lua)?;
utils::install(lua)?;
os_ext::install(lua)?;
logging::install(lua)?;
sqlite::install(lua)?;
Ok(())
}