-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the experimental frontends into a separate crate, so that when n…
…ot using them they don't take several minutes to compile (and indirect dependencies). (#168) This saves several minutes (and MBs of data) on compilation time both when running tests in this repo, but also when using the sonobe lib as a dependency in external repos.
- Loading branch information
Showing
34 changed files
with
161 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
members = [ | ||
"folding-schemes", | ||
"solidity-verifiers", | ||
"cli" | ||
"cli", | ||
"frontends" | ||
] | ||
resolver = "2" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[package] | ||
name = "frontends" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
ark-ff = { version = "^0.4.0", default-features = false, features = ["parallel", "asm"] } | ||
ark-std = { version = "^0.4.0", default-features = false, features = ["parallel"] } | ||
ark-relations = { version = "^0.4.0", default-features = false } | ||
# ark-r1cs-std is patched at the workspace level | ||
ark-r1cs-std = { version = "0.4.0", default-features = false, features = ["parallel"] } | ||
ark-serialize = { version = "^0.4.0", default-features = false } | ||
ark-circom = { git = "https://github.com/arnaucube/circom-compat", default-features = false } | ||
num-bigint = "0.4" | ||
ark-noname = { git = "https://github.com/dmpierre/ark-noname", branch = "feat/sonobe-integration" } | ||
noname = { git = "https://github.com/dmpierre/noname" } | ||
serde_json = "1.0.85" # to (de)serialize JSON | ||
acvm = { git = "https://github.com/noir-lang/noir", rev="2b4853e", default-features = false } | ||
noir_arkworks_backend = { package="arkworks_backend", git = "https://github.com/dmpierre/arkworks_backend", branch = "feat/sonobe-integration" } | ||
folding-schemes = { path = "../folding-schemes/"} | ||
|
||
[dev-dependencies] | ||
ark-bn254 = {version="0.4.0", features=["r1cs"]} | ||
|
||
# This allows the crate to be built when targeting WASM. | ||
# See more at: https://docs.rs/getrandom/#webassembly-support | ||
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies] | ||
getrandom = { version = "0.2", features = ["js"] } | ||
|
||
[features] | ||
default = ["ark-circom/default", "parallel"] | ||
parallel = [] | ||
wasm = ["ark-circom/wasm"] |
Oops, something went wrong.