Rust, in the luau module, behind the luau feature. Embedding Luau
shows it in a host.
IniExtension#
struct IniExtensionThe dream.ini extension: an l3i::extension::Extension that describes the @dream/ini module
and its type signatures. It holds no state; Clone, Copy, Debug, Default. Add it to a plan
with RuntimePlan::builder().extension(IniExtension).
It never creates a runtime, declares no userdata, takes no tags, checks no capabilities, and installs no global.
fn extension() -> IniExtensionThe same value, for hosts that collect extensions from functions.
Constants#
const EXTENSION_ID: &str = "dream.ini"The extension’s id in the plan.
const MODULE: &str = "@dream/ini"The path scripts require. A host that wants the conventional global adds
RuntimePolicy::new().compat_global(MODULE, "dreamIni").