@diodeinc/pcb-zen-wasm 0.3.72 → 0.3.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -14
- package/package.json +1 -1
- package/pcb_zen_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
# pcb-zen-wasm
|
|
2
2
|
|
|
3
|
-
WebAssembly bindings for the Zen PCB design language
|
|
3
|
+
WebAssembly bindings for the Zen PCB design language, intended for use in the
|
|
4
|
+
browser via [wasm-pack](https://rustwasm.github.io/wasm-pack/).
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Build the WASI binary:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
cargo build -p pcb-zen-wasm --bin pcb-zen-wasi --target wasm32-wasip2 --release
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Run with wasmtime:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
cat src.zip | wasmtime run target/wasm32-wasip2/release/pcb-zen-wasi.wasm
|
|
17
|
-
```
|
|
6
|
+
The npm package is built and published from [`bin/build-wasm-bundle.sh`](../../bin/build-wasm-bundle.sh).
|
package/package.json
CHANGED
package/pcb_zen_wasm_bg.wasm
CHANGED
|
Binary file
|