mica_hl/
lib.rs

1//! Mica is an embeddable scripting language for Rust.
2//!
3//! This crate exposes a safe, high-level API akin to Rhai.
4
5#![allow(clippy::or_fun_call)]
6
7pub mod builtin_traits;
8mod engine;
9mod error;
10mod fiber;
11mod function;
12mod stdlib;
13mod traits;
14mod types;
15mod userdata;
16mod value;
17
18pub use engine::*;
19pub use error::*;
20pub use fiber::*;
21pub use function::*;
22pub use stdlib::*;
23pub use traits::*;
24pub use types::*;
25pub use userdata::*;
26pub use value::*;
27
28pub use mica_language as language;
29pub use mica_language::gc::Gc;
30/// An **unsafe** value used internally in the VM.
31///
32/// Does not provide any safety guarantees as to GC'd object lifetimes.
33/// You almost always want [`Value`] instead of this.
34pub use mica_language::value::RawValue;
35/// The kind of a [`RawValue`].
36pub use mica_language::value::ValueKind as RawValueKind;