ruvector/crates/ruvector-decompiler-wasm/Cargo.toml
rUv 55cd51cefc feat(decompiler): WASM Louvain pipeline — npx now produces 589+ modules
Compiled ruvector-decompiler to WASM via wasm-pack:
- crates/ruvector-decompiler-wasm/ — wasm-bindgen wrapper (cdylib)
- rayon gated behind optional `parallel` feature (sequential in WASM)
- DecompileConfig now Deserializable for JSON config passing
- 1.5MB WASM binary at npm/packages/ruvector/wasm/

npx ruvector decompile now tries: WASM Louvain → Rust binary → keyword split
Result: 589 modules from Claude Code (was 5 with keyword splitter)

59 Rust tests pass, WASM verified from Node.js.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-04-03 15:25:23 +00:00

29 lines
859 B
TOML

[package]
name = "ruvector-decompiler-wasm"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
description = "WASM bindings for the RuVector JavaScript bundle decompiler (Louvain pipeline)"
keywords = ["decompiler", "javascript", "wasm", "mincut", "louvain"]
categories = ["wasm", "development-tools"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
ruvector-decompiler = { path = "../ruvector-decompiler", default-features = false, features = ["wasm"] }
wasm-bindgen = { workspace = true }
serde-wasm-bindgen = "0.6"
serde_json = { workspace = true }
console_error_panic_hook = "0.1"
getrandom = { version = "0.2", features = ["js"] }
[profile.release]
opt-level = "s"
lto = true
[package.metadata.wasm-pack.profile.release]
wasm-opt = false