mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Update pinned wasm-bindgen dependency (#6861)
* Update dependency. * Update readme docs * update python webserver command
This commit is contained in:
@@ -12,7 +12,7 @@ libp2p = { version = "0.22.0", default-features = false }
|
||||
jsonrpc-core = "14.2.0"
|
||||
serde = "1.0.106"
|
||||
serde_json = "1.0.48"
|
||||
wasm-bindgen = { version = "=0.2.62", features = ["serde-serialize"] }
|
||||
wasm-bindgen = { version = "=0.2.67", features = ["serde-serialize"] }
|
||||
wasm-bindgen-futures = "0.4.10"
|
||||
wasm-bindgen-test = "0.3.10"
|
||||
futures = "0.3.4"
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
# How to run this demo
|
||||
|
||||
```sh
|
||||
cargo install wasm-bindgen-cli # If necessary
|
||||
# If necessary, install wasm-bindgen
|
||||
# The version must match that used when building the browser demo.
|
||||
cargo install --version 0.2.67 wasm-bindgen-cli
|
||||
|
||||
# Run the build script
|
||||
./build.sh
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
cargo +nightly build --release -p node-cli --target wasm32-unknown-unknown --no-default-features --features browser -Z features=itarget
|
||||
wasm-bindgen ../../../../target/wasm32-unknown-unknown/release/node_cli.wasm --out-dir pkg --target web
|
||||
python -m http.server 8000
|
||||
python -m SimpleHTTPServer 8000
|
||||
|
||||
Reference in New Issue
Block a user