rquickjs_extension/lib.rs
1//! An extension system for rquickjs
2//!
3//! This is a complement to [rquickjs](https://github.com/DelSkayn/rquickjs)
4//! to allow the ecosystem to create more unified Rust extensions.
5//!
6//! The goal was to create a more generic version of
7//! [`ModuleDef`](rquickjs::module::ModuleDef)
8//! that would allow it to have options and/or set global values.
9
10pub use self::definition::{Extension, GlobalsOnly, ModuleImpl};
11pub use self::loader::{ExtensionBuilder, GlobalInitializer, ModuleLoader, ModuleResolver};
12
13mod definition;
14mod loader;
15mod macros;
16mod wrapper;