[package] name = "jouleclaw-hydra-client-wasm" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true authors.workspace = true description = "WASM bindings for jouleclaw-hydra-client. Lets a browser run the real Rust generic third-generation agent client — reading any hydra:ApiDocumentation, validating with the same SHACL validator that runs in production, dispatching via a JS-supplied mock or real transport — without a JavaScript stand-in." [lib] crate-type = ["cdylib", "rlib"] [dependencies] jouleclaw-hydra = { path = "../jouleclaw-hydra", default-features = false } jouleclaw-hydra-client = { path = "../jouleclaw-hydra-client" } jouleclaw-shacl = { path = "../jouleclaw-shacl" } serde = { workspace = true } serde_json = { workspace = true } blake3 = { workspace = true } wasm-bindgen = "0.2" serde-wasm-bindgen = "0.6" console_error_panic_hook = { version = "0.1", optional = true } [features] default = ["console_panic"] console_panic = ["dep:console_error_panic_hook"] # wasm-opt rejects rustc's bulk-memory ops (same issue arl-wasm hit # in May 2026). Disable until wasm-opt catches up. [package.metadata.wasm-pack.profile.release] wasm-opt = false