arnaucube
arnaucube/ark-r1cs-stdPublic Self-hosted repository
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  }
39
40[features]
41default = ["std"]
42std = [ "ark-ff/std", "ark-relations/std", "ark-std/std", "num-bigint/std" ]
43parallel = [ "std", "ark-ff/parallel", "ark-std/parallel"]
44
45[[bench]]
46name = "nonnative-bench"
47path = "benches/bench.rs"
48harness = false
49
50[profile.release]
51opt-level = 3
52lto = "thin"
53incremental = true
54panic = 'abort'
55
56[profile.bench]
57opt-level = 3
58debug = false
59rpath = false
60lto = "thin"
61incremental = true
62debug-assertions = false
63
64[profile.dev]
65opt-level = 0
66panic = 'abort'
67
68[profile.test]
69opt-level = 3
70lto = "thin"
71incremental = true
72debug-assertions = true
73debug = true
74
75[patch.crates-io]
76ark-ff = { git = "https://github.com/arkworks-rs/algebra/" }
77ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
78ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }
79ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }
80ark-test-curves = { git = "https://github.com/arkworks-rs/algebra/" }
81ark-bn254 = { git = "https://github.com/arkworks-rs/curves/" }
82ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves/" }
83ark-bls12-381 = { git = "https://github.com/arkworks-rs/curves/" }
84ark-mnt4-298 = { git = "https://github.com/arkworks-rs/curves/" }
85ark-mnt4-753 = { git = "https://github.com/arkworks-rs/curves/" }
86ark-mnt6-298 = { git = "https://github.com/arkworks-rs/curves/" }
87ark-mnt6-753 = { git = "https://github.com/arkworks-rs/curves/" }
88ark-pallas = { git = "https://github.com/arkworks-rs/curves/" }