Truly independent web browser
[package]
name = "libwasm_engine"
version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["staticlib", "rlib"]
# After changing dependencies, regenerate the Flatpak sources:
# python3 Meta/CMake/flatpak/generate-cargo-sources.py
[dependencies]
ak = { path = "../../../AK/Rust" }
ladybird_allocator = { path = "../../RustAllocator", optional = true }
libc = "0.2"
libwasm_jit = { path = "../JIT" }
libwasm_module = { path = "../Module" }
rustc-demangle = "0.1"
[features]
default = []
allocator = ["dep:ladybird_allocator"]
# The C ABI of src/capi.rs, for LibWasm's C++ embedders. A Rust embedder uses the runtime's API instead, and leaves it out
# so that only one copy of the engine in a process exports its C symbols.
capi = []
[build-dependencies]
cbindgen = "0.29"
cc = "1"
flapc = { path = "../../LibJS/Flap" }
[lints]
workspace = true