rquickjs-extension 0.0.3

An extension system for rquickjs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! An extension system for rquickjs
//!
//! This is a complement to [rquickjs](https://github.com/DelSkayn/rquickjs)
//! to allow the ecosystem to create more unified Rust extensions.
//!
//! The goal was to create a more generic version of
//! [`ModuleDef`](rquickjs::module::ModuleDef)
//! that would allow it to have options and/or set global values.

pub use self::definition::{Extension, GlobalsOnly, ModuleImpl};
pub use self::loader::{ExtensionBuilder, GlobalInitializer, ModuleLoader, ModuleResolver};

mod definition;
mod loader;
mod macros;
mod wrapper;