03c5dadccb
Run the real hel core in the browser via WebAssembly, replacing the plain-JS ooke.github.io/sk reimplementation so the web and the CLI share one generator. - hel core: new storage module (native fs / wasm localStorage) backs init/source/dump/correct; the pipe and pb branches are gated out of wasm; the wasm editor is completed (EditorRef) and its password prompt no longer blocks the single JS thread (synchronous hel_get_password instead of a thread::sleep poll). - helwasm: hel_load_script for bulk import, a panic hook in hel_init, dropped the ok_add / web-sys leftovers; build.sh runs wasm-bindgen into a committed pkg/ so GitHub Pages can serve the static dir with no CI. - UI: rewritten index.html + style.css in the kaizenkodo.org style — responsive, masked-but-copyable passwords with click-to-reveal, a quick-generate card plus a full command console, localStorage persistence, and paste import/export.
20 lines
409 B
TOML
20 lines
409 B
TOML
[package]
|
|
name = "helwasm"
|
|
version = "0.1.0"
|
|
authors = ["ok2"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "helwasm"
|
|
path = "src/lib.rs"
|
|
crate-type = ["cdylib"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
hel = { version = "0.1.0", path = "../hel" }
|
|
lazy_static = "1.4.0"
|
|
wasm-bindgen = "0.2.83"
|
|
parking_lot = "0.12.1"
|
|
console_error_panic_hook = "0.1"
|