|
[package]
|
|
name = "ark-r1cs-std"
|
|
version = "0.3.1"
|
|
authors = [ "arkworks contributors" ]
|
|
description = "A standard library for constraint system gadgets"
|
|
homepage = "https://arkworks.rs"
|
|
repository = "https://github.com/arkworks-rs/r1cs-std"
|
|
documentation = "https://docs.rs/ark-r1cs-std/"
|
|
keywords = ["zero-knowledge", "cryptography", "zkSNARK", "SNARK", "r1cs"]
|
|
categories = ["cryptography"]
|
|
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
|
|
license = "MIT/Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
ark-ff = { version = "^0.3.0", default-features = false }
|
|
ark-ec = { version = "^0.3.0", default-features = false }
|
|
ark-std = { version = "^0.3.0", default-features = false }
|
|
ark-relations = { version = "^0.3.0", default-features = false }
|
|
|
|
derivative = { version = "2", features = ["use_core"] }
|
|
tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
|
|
num-bigint = {version = "0.4", default-features = false }
|
|
num-traits = {version = "0.2", default-features = false }
|
|
num-integer = { version = "0.1.44", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
ark-test-curves = { version = "^0.3.0", default-features = false, features = ["bls12_381_scalar_field", "bls12_381_curve", "mnt4_753_scalar_field"] }
|
|
ark-poly = { version = "^0.3.0", default-features = false }
|
|
paste = "1.0"
|
|
ark-bls12-377 = { version = "^0.3.0", features = ["curve"], default-features = false }
|
|
ark-bls12-381 = { version = "^0.3.0", features = ["curve"], default-features = false }
|
|
ark-mnt4-298 = { version = "^0.3.0", features = ["curve"], default-features = false }
|
|
ark-mnt4-753 = { version = "^0.3.0", features = ["curve"], default-features = false }
|
|
ark-mnt6-298 = { version = "^0.3.0", default-features = false }
|
|
ark-mnt6-753 = { version = "^0.3.0", default-features = false }
|
|
ark-pallas = { version = "^0.3.0", features = ["curve"], default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [ "ark-ff/std", "ark-relations/std", "ark-std/std", "num-bigint/std" ]
|
|
parallel = [ "std", "ark-ff/parallel", "ark-std/parallel"]
|
|
|
|
[[bench]]
|
|
name = "nonnative-bench"
|
|
path = "benches/bench.rs"
|
|
harness = false
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
incremental = true
|
|
panic = 'abort'
|
|
|
|
[profile.bench]
|
|
opt-level = 3
|
|
debug = false
|
|
rpath = false
|
|
lto = "thin"
|
|
incremental = true
|
|
debug-assertions = false
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
panic = 'abort'
|
|
|
|
[profile.test]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
incremental = true
|
|
debug-assertions = true
|
|
debug = true
|
|
|
|
# To be removed in the new release.
|
|
[patch.crates-io]
|
|
ark-std = { git = "https://github.com/arkworks-rs/std" }
|
|
ark-ec = { git = "https://github.com/arkworks-rs/algebra" }
|
|
ark-ff = { git = "https://github.com/arkworks-rs/algebra" }
|
|
ark-poly = { git = "https://github.com/arkworks-rs/algebra" }
|
|
ark-test-curves = { git = "https://github.com/arkworks-rs/algebra" }
|
|
ark-bls12-381 = { git = "https://github.com/arkworks-rs/curves" }
|
|
ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves" }
|
|
ark-mnt4-298 = { git = "https://github.com/arkworks-rs/curves" }
|
|
ark-mnt4-753 = { git = "https://github.com/arkworks-rs/curves" }
|
|
ark-mnt6-298 = { git = "https://github.com/arkworks-rs/curves" }
|
|
ark-mnt6-753 = { git = "https://github.com/arkworks-rs/curves" }
|
|
ark-pallas = { git = "https://github.com/arkworks-rs/curves" }
|