quickjs_oxide/lib.rs
1//! A pure-Rust rewrite of `QuickJS` aiming at semantic feature parity with the
2//! pinned upstream release.
3//!
4//! The front end compiles source to `QuickJS`-shaped stack bytecode, the
5//! register lowering turns it into `quickjs-oxide-core`'s register bytecode, and the
6//! embedding API runs it on the core.
7
8/// Interpreter implementation; embedders use [`engine::api`].
9///
10/// Old root API aliases are deliberately unavailable:
11/// ```compile_fail
12/// use quickjs_oxide::Runtime;
13/// ```
14/// Internal engine modules are not embedding interfaces:
15/// ```compile_fail
16/// use quickjs_oxide::engine::compiler::CompileOptions;
17/// ```
18pub mod engine;
19pub mod source;
20
21/// The version of this quickjs-oxide engine crate.
22pub const QUICKJS_OXIDE_VERSION: &str = env!("CARGO_PKG_VERSION");
23
24/// The exact upstream release whose observable behavior is the compatibility
25/// baseline for this crate.
26pub const QUICKJS_COMPAT_VERSION: &str = "2026-06-04";