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[dependencies]
16ark-ff = { version = "^0.3.0", default-features = false }
17ark-ec = { version = "^0.3.0", default-features = false }
18ark-std = { version = "^0.3.0", default-features = false }
19ark-relations = { version = "^0.3.0", default-features = false }
20
21derivative = { version = "2", features = ["use_core"] }
22tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
23num-bigint = {version = "0.4", default-features = false }
24num-traits = {version = "0.2", default-features = false }
25num-integer = { version = "0.1.44", default-features = false }
26
27[dev-dependencies]
28ark-test-curves = { version = "^0.3.0", default-features = false, features = ["bls12_381_scalar_field", "bls12_381_curve", "mnt4_753_scalar_field"] }
29ark-poly = { version = "^0.3.0", default-features = false }
30paste = "1.0"
31ark-bls12-377 = { version = "^0.3.0", features = ["curve"], default-features = false }
32ark-bls12-381 = { version = "^0.3.0", features = ["curve"], default-features = false }
33ark-mnt4-298 = { version = "^0.3.0", features = ["curve"], default-features = false }
34ark-mnt4-753 = { version = "^0.3.0", features = ["curve"], default-features = false }
35ark-mnt6-298 = { version = "^0.3.0", default-features = false }
36ark-mnt6-753 = { version = "^0.3.0", default-features = false }
37ark-pallas = { version = "^0.3.0", features = ["curve"], default-features = false }
38
39[features]
40default = ["std"]
41std = [ "ark-ff/std", "ark-relations/std", "ark-std/std", "num-bigint/std" ]
42parallel = [ "std", "ark-ff/parallel", "ark-std/parallel"]
43
44[[bench]]
45name = "nonnative-bench"
46path = "benches/bench.rs"
47harness = false
48
49[profile.release]
50opt-level = 3
51lto = "thin"
52incremental = true
53panic = 'abort'
54
55[profile.bench]
56opt-level = 3
57debug = false
58rpath = false
59lto = "thin"
60incremental = true
61debug-assertions = false
62
63[profile.dev]
64opt-level = 0
65panic = 'abort'
66
67[profile.test]
68opt-level = 3
69lto = "thin"
70incremental = true
71debug-assertions = true
72debug = true
73
74# To be removed in the new release.
75[patch.crates-io]
76ark-std = { git = "https://github.com/arkworks-rs/std" }
77ark-ec = { git = "https://github.com/arkworks-rs/algebra" }
78ark-ff = { 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-bls12-381 = { git = "https://github.com/arkworks-rs/curves" }
83ark-bls12-377 = { 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" }