ark-r1cs-std/Cargo.toml
Cargo.tomlRaw
1[package]
2name = "ark-r1cs-std"
3version = "0.3.1"
4authors = [ "arkworks contributors" ]
5description = "A standard library for constraint system gadgets"
6homepage = "https://arkworks.rs"
7repository = "https://github.com/arkworks-rs/r1cs-std"
8documentation = "https://docs.rs/ark-r1cs-std/"
9keywords = ["zero-knowledge", "cryptography", "zkSNARK", "SNARK", "r1cs"]
10categories = ["cryptography"]
11include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
12license = "MIT/Apache-2.0"
13edition = "2018"
14
15[profile.release]
16panic = 'abort'
17
18[profile.dev]
19panic = 'abort'
20
21[dependencies]
22ark-ff = { version = "^0.3.0", default-features = false }
23ark-ec = { version = "^0.3.0", default-features = false }
24ark-std = { version = "^0.3.0", default-features = false }
25ark-relations = { version = "^0.3.0", default-features = false }
26
27derivative = { version = "2", features = ["use_core"] }
28tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
29num-bigint = {version = "0.4", default-features = false }
30num-traits = {version = "0.2", default-features = false }
31num-integer = { version = "0.1.44", default-features = false }
32
33[dev-dependencies]
34ark-test-curves = { version = "^0.3.0", default-features = false, features = ["bls12_381_scalar_field", "bls12_381_curve", "mnt4_753_scalar_field"] }
35ark-poly = { version = "^0.3.0", default-features = false }
36paste = "1.0"
37ark-bls12-377 = { version = "^0.3.0", features = ["curve"], default-features = false }
38ark-bls12-381 = { version = "^0.3.0", features = ["curve"], default-features = false }
39ark-mnt4-298 = { version = "^0.3.0", features = ["curve"], default-features = false }
40ark-mnt4-753 = { version = "^0.3.0", features = ["curve"], default-features = false }
41ark-mnt6-298 = { version = "^0.3.0", default-features = false }
42ark-mnt6-753 = { version = "^0.3.0", default-features = false }
43ark-pallas = { version = "^0.3.0", features = ["curve"], default-features = false }
44
45[features]
46default = ["std"]
47std = [ "ark-ff/std", "ark-relations/std", "ark-std/std", "num-bigint/std" ]
48parallel = [ "std", "ark-ff/parallel", "ark-std/parallel"]
49
50[[bench]]
51name = "nonnative-bench"
52path = "benches/bench.rs"
53harness = false
54
55# To be removed in the new release.
56[patch.crates-io]
57ark-std = { git = "https://github.com/arkworks-rs/std" }
58ark-ec = { git = "https://github.com/arkworks-rs/algebra" }
59ark-ff = { git = "https://github.com/arkworks-rs/algebra" }
60ark-poly = { git = "https://github.com/arkworks-rs/algebra" }
61ark-serialize = { git = "https://github.com/arkworks-rs/algebra" }
62ark-test-curves = { git = "https://github.com/arkworks-rs/algebra" }
63ark-bls12-381 = { git = "https://github.com/sunhuachuang/curves", branch = "upgrade-ff" }
64ark-bls12-377 = { git = "https://github.com/sunhuachuang/curves", branch = "upgrade-ff" }
65ark-mnt4-298 = { git = "https://github.com/sunhuachuang/curves", branch = "upgrade-ff" }
66ark-mnt4-753 = { git = "https://github.com/sunhuachuang/curves", branch = "upgrade-ff" }
67ark-mnt6-298 = { git = "https://github.com/sunhuachuang/curves", branch = "upgrade-ff" }
68ark-mnt6-753 = { git = "https://github.com/sunhuachuang/curves", branch = "upgrade-ff" }
69ark-pallas = { git = "https://github.com/sunhuachuang/curves", branch = "upgrade-ff" }