| Crates.io | subduction_wasm |
| lib.rs | subduction_wasm |
| version | 0.1.0 |
| created_at | 2025-10-27 18:17:05.651406+00 |
| updated_at | 2025-10-27 18:17:05.651406+00 |
| description | Wasm bindings for Sedimentree Sync |
| homepage | |
| repository | https://github.com/inkandswitch/subduction |
| max_upload_size | |
| id | 1903495 |
| size | 684,617 |
🚧 This is an early release preview. It has a very unstable API. No guarantees are given. DO NOT use for production use cases at this time. USE AT YOUR OWN RISK. 🚧
wasm-pack build --target web --out-dir pkg
Install dependencies:
pnpm install
Install Playwright's browser binaries:
npx playwright install
Run tests:
npx playwright test
View Playwright report:
npx playwright show-report
wasm-bindgen-generated types ownership rules can be confusing and cumbersome, with different behavior depending on which side of the Wasm boundary your type was created from. To help keep this straight, we adopt the naming convention:
[!NOTE] Types exported from Rust are prefixed with
Wasm. Types imported from JS are prefixed withJs.