Skip to content

Commit

Permalink
chore: remove wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
eigmax committed Jul 27, 2024
1 parent 578c824 commit 4eba4de
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 199 deletions.
178 changes: 6 additions & 172 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 3 additions & 13 deletions algebraic-gpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,12 @@ ff = { version = "0.13.0", features = ["derive"] }
pairing = "0.23.0"
bellperson = { version = "0.26", default-features = false, features = ["groth16"] }

rand = "0.8.5"

[dev-dependencies]
env_logger = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rand = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2.51", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.1"
rand = { version="0.6.5", features = ["wasm-bindgen"] }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"

[features]
default = ["bellperson/default", "wasmer/singlepass"]
wasm = ["wasmer/js-default"]
cuda = ["bellperson/cuda", "wasmer/singlepass"]
opencl = ["bellperson/opencl", "wasmer/singlepass"]
opencl = ["bellperson/opencl", "wasmer/singlepass"]
2 changes: 1 addition & 1 deletion algebraic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ num-traits = "0.2.8"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = { version = "1.0", features = [ "arbitrary_precision" ] }
hex = "*"
wasmer = { version = "4.2.5", default-features = false }
wasmer = { version = "4.3.2", default-features = false }
thiserror="1.0"
anyhow = "1.0.79"
fnv = { version = "1.0.3", default-features = false }
Expand Down
14 changes: 1 addition & 13 deletions recursion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ num-traits = "0.2.8"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = { version = "1.0", features = [ "arbitrary_precision" ] }
hex = "*"
wasmer = { version = "4.2.5", default-features = false }
wasmer = { version = "4.3.2", default-features = false }
thiserror="1.0"
anyhow = "1.0.79"
fnv = { version = "1.0.3", default-features = false }
Expand All @@ -38,18 +38,6 @@ powdr-parser-util = { git = "https://github.com/0xEigenLabs/powdr", branch = "ei
[dev-dependencies]
env_logger = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rand = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2.51", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.1"
rand = { version="0.6.5", features = ["wasm-bindgen"] }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"

[features]
default = ["wasmer/singlepass", "starky/default"]
wasm = ["wasmer/js-default"]
avx512 = ["fields/avx512", "starky/avx512", "powdr/starky-avx512"]

0 comments on commit 4eba4de

Please sign in to comment.