This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
47 lines (42 loc) · 1.92 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "ark-sponge"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "An implementation of the cryptographic sponge functions for zkSNARK"
homepage = "https://arkworks.rs"
repository = "https://github.com/arkworks-rs/sponge"
documentation = "https://docs.rs/ark-sponge/"
keywords = [ "zero-knowledge", "cryptography", "zkSNARK", "SNARK", "sponge" ]
categories = [ "cryptography" ]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
[profile.release]
opt-level = 3
lto = "thin"
incremental = true
panic = 'abort'
[dependencies]
ark-ff = { version = "^0.3.0", default_features = false }
ark-ec = { version = "^0.3.0", default_features = false }
ark-serialize = { version = "^0.3.0", default_features = false}
ark-std = { version = "^0.3.0", default-features = false }
derivative = { version = "2.1.1", features = [ "use_core" ] }
digest = { version = "0.10.3", default_features = false }
rand_chacha = { version = "0.3.0", default-features = false }
# Dependencies for r1cs
ark-r1cs-std = { version = "^0.3.0", default-features = false, optional = true }
ark-relations = { version = "^0.3.0", default-features = false, optional = true }
tracing = { version = "0.1", default-features = false, features = [ "attributes" ], optional = true }
# To be removed in the new release.
[patch.crates-io]
ark-std = { git = "https://github.com/arkworks-rs/std" }
ark-ff = { git = "https://github.com/arkworks-rs/algebra" }
ark-ec = { git = "https://github.com/arkworks-rs/algebra" }
ark-serialize = { git = "https://github.com/arkworks-rs/algebra" }
ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std" }
ark-relations = { git = "https://github.com/arkworks-rs/snark"}
[features]
default = [ "r1cs", "std" ]
r1cs = [ "ark-relations", "ark-r1cs-std", "tracing" ]
std = [ "ark-ff/std", "ark-r1cs-std/std", "ark-relations/std", "ark-std/std", "ark-serialize/std" ]