mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-09-19 03:57:59 -04:00
The Rust bindings move from web/src to a top-level senbei-wasm crate (still outside the workspace, own Cargo.lock), matching the other senbei-* crates. web/ keeps only the static frontend; wasm-pack emits the JS/wasm package into web/pkg/ via --out-dir. JS glue renamed senbei_web -> senbei_wasm with the crate.
22 lines
470 B
TOML
22 lines
470 B
TOML
[package]
|
|
name = "senbei-wasm"
|
|
version = "1.1.0"
|
|
edition = "2024"
|
|
description = "WebAssembly bindings for senbei (browser frontend assets live in web/)"
|
|
license = "AGPL-3.0-only"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
senbei-io = { path = "../senbei-io" }
|
|
senbei-metadata = { path = "../senbei-metadata" }
|
|
senbei-pe = { path = "../senbei-pe" }
|
|
wasm-bindgen = "0.2"
|
|
console_error_panic_hook = "0.1"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|