[package] name = "faunosteo-wasm" description = "Browser facade of the Faunosteo core (wasm-bindgen), built into packages/core-wasm/pkg" version.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true publish.workspace = true [lib] crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [features] default = [] # The R0 trap proofs (panic_for_test, recurse_for_test): built for the proofs, never for the # module the application ships (scripts/wasm-build.sh passes it until R2 wires the real loader). proofs = ["dep:serde_json"] [dependencies] faunosteo-core = { path = "../core", features = ["pdf-read", "pdf-write"] } wasm-bindgen.workspace = true # The proofs build reads the test rasters' JSON (never shipped). serde_json = { workspace = true, optional = true } [lints] workspace = true