andax/
lib.rs

1//! AndaX, an embedded scripting system powered by Rhai.
2//!
3//! To start running a script, use `run()`.
4#![allow(clippy::doc_markdown)]
5#![allow(clippy::module_name_repetitions)]
6// Since Rhai relies on implicit lifetimes a lot, we are not going to deny rust_2018_idioms.
7mod error;
8mod fns;
9mod run;
10
11pub use fns::rpm::RPMSpec;
12pub use rhai::{self, Map};
13pub use run::{errhdl, run};
14
15/// The usual Error type returned by the Rhai engine.
16/// Alias for `Box<EvalAltResult>`.
17pub type RhaiErr = Box<rhai::EvalAltResult>;