- Add WASM build target and dependencies for all crates. - Implement IndexedDB-based persistent storage for WASM. - Create browser extension infrastructure (UI, scripting, etc.). - Integrate Rhai scripting engine for secure automation. - Implement user stories and documentation for the extension.
29 lines
719 B
TOML
29 lines
719 B
TOML
[package]
|
|
name = "wasm"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
kvstore = { path = "../kvstore" }
|
|
wasm-bindgen = "0.2"
|
|
gloo-utils = "0.1"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3", features = ["console"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
rhai = { version = "1.16", features = ["serde"] }
|
|
wasm-bindgen-futures = "0.4"
|
|
once_cell = "1.21"
|
|
vault = { path = "../vault" }
|
|
evm_client = { path = "../evm_client" }
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.3", features = ["wasm_js"] }
|
|
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
|