Skip to content

Commit

Permalink
Merge pull request #153 from thomasantony/feature/build_for_wasm_target
Browse files Browse the repository at this point in the history
Add support for WASM targets
  • Loading branch information
ChristopherRabotin committed May 24, 2023
2 parents a53dfef + 9e98272 commit 9724045
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: wasm32-unknown-unknown

- name: Run cargo check
run: cargo check

- name: Run cargo check for WASM target
run: cargo check --target wasm32-unknown-unknown

tests:
strategy:
matrix:
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ numpy = {version = "0.17", optional = true}
indicatif = {version = "0.17", features = ["rayon"]}
rstats = "1.2.50"
thiserror = "1.0"
parquet = "40.0.0"
parquet = {version = "40.0.0", default-features = false, features = ["arrow", "brotli"]}
arrow = "40.0.0"
shadow-rs = "0.21.0"
shadow-rs = {version = "0.21.0", default-features = false}
serde_yaml = "0.9.21"
whoami = "1.3.0"
either = {version = "1.8.1", features = ["serde"]}
num = "0.4.0"
enum-iterator = "1.4.0"
getrandom = {version = "0.2", features = ["js"]}

[dev-dependencies]
polars = {version = "0.29.0", features = ["parquet"]}
Expand Down

0 comments on commit 9724045

Please sign in to comment.