ark-r1cs-std/Cargo.toml
Cargo.tomlRaw
1[package]
2name = "ark-r1cs-std"
3version = "0.4.0"
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 = "2021"
14resolver = "2"
15
16[dependencies]
17ark-ff = { version = "0.4.0", default-features = false }
18ark-ec = { version = "0.4.0", default-features = false }
19ark-std = { version = "0.4.0", default-features = false }
20ark-relations = { version = "0.4.0", default-features = false }
21
22derivative = { version = "2", features = ["use_core"] }
23tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
24num-bigint = { version = "0.4", default-features = false }
25num-traits = { version = "0.2", default-features = false }
26num-integer = { version = "0.1.44", default-features = false }
27
28[dev-dependencies]
29ark-test-curves = { version = "0.4.0", default-features = false, features = ["bls12_381_scalar_field", "bls12_381_curve", "mnt4_753_scalar_field"] }
30ark-poly = { version = "0.4.0", default-features = false }
31paste = "1.0"
32ark-bls12-377 = { version = "0.4.0", features = ["curve"], default-features = false }
33ark-bls12-381 = { version = "0.4.0", features = ["curve"], default-features = false }
34ark-mnt4-298 = { version = "0.4.0", features = ["curve"], default-features = false }
35ark-mnt4-753 = { version = "0.4.0", features = ["curve"], default-features = false }
36ark-mnt6-298 = { version = "0.4.0", default-features = false }
37ark-mnt6-753 = { version = "0.4.0", default-features = false }
38ark-pallas = { version = "0.4.0", features = ["curve"], default-features = false }
39ark-bn254 = { version = "0.4.0", features = ["curve"], default-features = false }
40
41[features]
42default = ["std"]
43std = [ "ark-ff/std", "ark-relations/std", "ark-std/std", "num-bigint/std" ]
44parallel = [ "std", "ark-ff/parallel", "ark-std/parallel"]
45
46[[bench]]
47name = "emulated-bench"
48path = "benches/bench.rs"
49harness = false
50
51[profile.release]
52opt-level = 3
53lto = "thin"
54incremental = true
55panic = 'abort'
56
57[profile.bench]
58opt-level = 3
59debug = false
60rpath = false
61lto = "thin"
62incremental = true
63debug-assertions = false
64
65[profile.dev]
66opt-level = 0
67panic = 'abort'
68
69[profile.test]
70opt-level = 3
71lto = "thin"
72incremental = true
73debug-assertions = true
74debug = true
75
76[patch.crates-io]
77ark-ff = { git = "https://github.com/arkworks-rs/algebra/" }
78ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
79ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }
80ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }
81ark-test-curves = { git = "https://github.com/arkworks-rs/algebra/" }
82ark-bn254 = { git = "https://github.com/arkworks-rs/curves/" }
83ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves/" }
84ark-bls12-381 = { git = "https://github.com/arkworks-rs/curves/" }
85ark-mnt4-298 = { git = "https://github.com/arkworks-rs/curves/" }
86ark-mnt4-753 = { git = "https://github.com/arkworks-rs/curves/" }
87ark-mnt6-298 = { git = "https://github.com/arkworks-rs/curves/" }
88ark-mnt6-753 = { git = "https://github.com/arkworks-rs/curves/" }
89ark-pallas = { git = "https://github.com/arkworks-rs/curves/" }
90ark-relations = { git = "https://github.com/winderica/snark/", branch = "cp" }