Add move-money-dynamic crate manifest, ignore bindings in git, install wasm32 target in CI
All checks were successful
test / test (push) Successful in 17m49s

This commit is contained in:
2026-04-02 21:16:50 +10:30
parent c6a0d1900d
commit 894eb1617c
3 changed files with 20 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ jobs:
lfs: true lfs: true
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- run: rustup target add wasm32-unknown-unknown
# Build webassembly module # Build webassembly module
- run: cargo install cargo-component - run: cargo install cargo-component
- run: cargo component build --target wasm32-unknown-unknown --release -p move-money-dynamic - run: cargo component build --target wasm32-unknown-unknown --release -p move-money-dynamic

3
.gitignore vendored
View File

@@ -6,4 +6,5 @@
*.h *.h
*.py *.py
.idea .idea
/testing/output/*.csv /testing/output/*.csv
bindings.rs

View File

@@ -0,0 +1,17 @@
[package]
name = "move-money-dynamic"
version = "0.1.0"
edition = "2024"
[dependencies]
wit-bindgen-rt = { version = "0.24.0", features = ["bitflags"] }
serde = { version = "1", features = ["derive"] }
itertools = "0.14.0"
csv = "1"
anyhow = "1"
[lib]
crate-type = ["cdylib"]
[package.metadata.component]
package = "move-money-dynamic:test"