[package] name = "bn254_blackbox_solver" description = "Solvers for black box functions which are specific for the bn254 curve" # x-release-please-start-version version = "0.46.0" # x-release-please-end authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] acir.workspace = true acvm_blackbox_solver.workspace = true thiserror.workspace = true cfg-if = "1.0.0" hex.workspace = true lazy_static = "1.4" # BN254 fixed base scalar multiplication solver grumpkin = { version = "0.1.0", package = "noir_grumpkin", features = ["std"] } ark-ec = { version = "^0.4.0", default-features = false } ark-ff = { version = "^0.4.0", default-features = false } num-bigint.workspace = true [target.'cfg(target_arch = "wasm32")'.dependencies] wasmer = { version = "4.2.6", default-features = false, features = [ "js-default", ] } getrandom = { workspace = true, features = ["js"] } wasm-bindgen-futures.workspace = true js-sys.workspace = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies] getrandom.workspace = true wasmer = "4.2.6" [dev-dependencies] ark-std = { version = "^0.4.0", default-features = false } criterion = "0.5.0" pprof = { version = "0.12", features = [ "flamegraph", "frame-pointer", "criterion", ] } [[bench]] name = "criterion" harness = false [features] default = ["bn254"] bn254 = ["acir/bn254"]