bao_engine 0.1.0

SpiderMonkey engine wrapper for Bao runtime
[package]
name = "bao_engine"
version = "0.1.0"
description = "SpiderMonkey engine wrapper for Bao runtime"
edition.workspace = true
license.workspace = true

[dependencies]
bun_sm = { path = "../bun_sm", version = "0.1.0" }
bao_engine_macros = { path = "../bao_engine_macros", version = "0.1.0" }
mozjs.workspace = true
mozjs_sys.workspace = true
libc = "0.2"
log = "0.4"

# Wave 73: SpiderMonkey Jsc arm dispatch adapters
# Low-tier crates whose `link_interface!` Jsc/Js variant bao_engine implements.
bun_event_loop = { path = "../event_loop", version = "0.1.0" }
bun_io = { path = "../io", version = "0.1.0" }
bun_spawn = { path = "../spawn", version = "0.1.0" }
bun_crash_handler = { path = "../crash_handler", version = "0.1.0" }
bun_core = { path = "../bun_core", version = "0.1.0" }
bun_uws = { path = "../uws", version = "0.1.0" }
bun_collections = { path = "../collections", version = "0.1.0" }
# bun_ast / bun_bundler deferred to Wave 73-F (bun_bundler has unresolved lolhtml_sys)

[dev-dependencies]
# Wave 73-G: tests need bao_native_stubs to pull in C-library stubs (uSockets uws_get_loop, etc.)
bao_native_stubs = { path = "../bao_native_stubs", version = "0.1.0" }
# PUBLISH-STRIP: cyclic dev-dep (bun_runtime normal-deps bao_engine); restore after W2 wave.
# bao_runtime provides __bun_run_file_poll (extern "Rust") referenced by bun_io::FilePoll::on_update.
# TASK-12 E2E fusion tests parse a typeof-snapshot via JSON.
serde_json = "1"

[features]
live_uws_loop = []