Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
69ba8f0
walletkit-db: fix sqlite-wasm-rs FFI compatibility
Dzejkop Feb 26, 2026
bccaa00
ci: add wasm32 walletkit-db compile check
Dzejkop Feb 26, 2026
a213aca
fmt
Dzejkop Feb 26, 2026
441ab5a
ci: make wasm archiver selection robust
Dzejkop Feb 26, 2026
3d94e77
ci: pin wasm C toolchain to llvm 18
Dzejkop Feb 26, 2026
7e67b17
refactor(walletkit-core): remove `storage` feature flag
Feb 26, 2026
b8b38e3
refactor: introduce Groth16Materials and decouple from Authenticator
Feb 26, 2026
0119cb7
feat: enable wasm32-unknown-unknown compilation
Feb 27, 2026
81a22a4
enable CI for walletkit
Dzejkop Feb 27, 2026
13368df
chore: refresh Cargo.lock for wasm patch sources
Mar 13, 2026
f30c350
fix: align lockfile and remove stale storage cfg
Mar 13, 2026
27c7df5
fix: gate uint256 uniffi registration for non-wasm
Mar 13, 2026
225e0d1
feat: enable UniFFI exports for wasm target
Mar 13, 2026
1e7d137
chore: switch semaphore-rs wasm patch to main
Mar 16, 2026
a5c47f0
chore: use released world-id and taceo crates
Mar 16, 2026
765f62c
chore: use released semaphore crates
Mar 16, 2026
7db90c8
feat: widen wasm authenticator support
Mar 16, 2026
ee6321b
refactor: minimize cargo changes and widen wasm support
Mar 16, 2026
ddddd01
chore: refresh lockfile after uniffi feature cleanup
Mar 16, 2026
bfe54bb
ensure destructor in wasm is transient
Dzejkop Mar 17, 2026
8f52b30
feat: add embed-zkeys feature flag and fix WASM compilation
Mar 17, 2026
cd7fc86
chore: fix rustfmt import ordering in logger and storage/lock
Mar 17, 2026
f9f9aea
refactor: replace #[allow] with #[expect] + reason comment on from_cache
Mar 17, 2026
f76dc47
fix(walletkit-db): serialize sqlite3mc codec init to fix flaky tests
Mar 17, 2026
496f4f5
fix(docs.rs): remove embed-zkeys from docs.rs features
Mar 17, 2026
9311b78
Apply suggestion from @Dzejkop
Dzejkop Mar 17, 2026
cf00408
fix(docs): replace broken intra-doc link to from_embedded
Mar 18, 2026
5749d29
refactor(logger): split init_logging into platform-specific helpers
Mar 18, 2026
79ae99a
fix(wasm): vendor world-id-{authenticator,proof} with default=[]; pre…
Mar 18, 2026
076cba6
chore: remove vendored world-id-{authenticator,proof} patches
Mar 23, 2026
f9d2f70
fix(wasm): move set_vault_changed_listener out of #[uniffi::export] b…
Mar 23, 2026
ae6dd76
fix(wasm): move cfg-gated backup methods out of uniffi::export block
Mar 23, 2026
96a898f
fix(wasm): move cfg-gated backup methods into native uniffi export block
Mar 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,45 @@ jobs:
- name: Run clippy (no default features)
run: cargo clippy --workspace --all-targets --no-default-features -- -D warnings

wasm-check:
name: WASM walletkit compile check
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.92.0
targets: wasm32-unknown-unknown

# clang-18 (LLVM 18) is the minimum version that supports the C23
# [[noreturn]] attribute syntax used in sqlite-wasm-rs's wasm-shim.h.
# The system clang on Ubuntu (clang-14) predates C23 attribute support
# and fails to compile the shim, so we must install a newer toolchain explicitly.
- name: Install LLVM toolchain for WASM C build
shell: bash
run: |
set -euo pipefail
sudo apt-get update
sudo apt-get install -y clang-18 llvm-18

- name: Configure C toolchain for wasm32
shell: bash
run: |
set -euo pipefail
echo "CC_wasm32_unknown_unknown=clang-18" >> "$GITHUB_ENV"
echo "AR_wasm32_unknown_unknown=llvm-ar-18" >> "$GITHUB_ENV"
clang-18 --version | head -n1
llvm-ar-18 --version | head -n1

- name: Run WASM compile check
run: cargo check -p walletkit --target wasm32-unknown-unknown

swift-build-and-test:
name: Swift Build & Foreign Binding Tests
runs-on: macos-14
Expand Down
Loading
Loading