1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! The Mica standard library. Provides functions that can be registered in engines.
mod core;
use mica_hl::Engine;
pub use crate::core::load_core;
/// Loads the full standard library into the engine.
pub fn load(engine: &Engine) -> Result<(), mica_hl::Error> {
load_core(engine)?;
Ok(())
}