mirror of
https://github.com/UneBaguette/blake3.wasm.git
synced 2026-08-07 00:00:16 +02:00
feat!: native-first API refactor, WASM behind feature flag
BREAKING: native functions return [u8; 32] instead of Vec<u8>. BREAKING: WASM bindings require `wasm` feature flag. New Blake3Error type replaces JsError for native consumers.
This commit is contained in:
@@ -30,4 +30,4 @@ jobs:
|
||||
run: cargo test
|
||||
|
||||
- name: WASM tests (Node)
|
||||
run: wasm-pack test --node
|
||||
run: wasm-pack test --node --features wasm,talc
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
run: cargo test
|
||||
|
||||
- name: WASM tests (Node)
|
||||
run: wasm-pack test --node
|
||||
run: wasm-pack test --node --features wasm,talc
|
||||
|
||||
- name: Build package
|
||||
run: make
|
||||
|
||||
Reference in New Issue
Block a user