-
Notifications
You must be signed in to change notification settings - Fork 35
/
Cargo.toml
68 lines (59 loc) Β· 1.55 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "ministark"
description = "GPU accelerated STARK engine"
authors = ["Andrew Milson <andrew.j.milson@gmail.com>"]
version = "0.1.0"
edition = "2021"
repository = "https://github.com/andrewmilson/ministark"
keywords = ["gpu", "stark", "zkstark"]
categories = ["cryptography"]
readme = "README.md"
license = "MIT"
[workspace]
members = []
[features]
default = []
std = ["ministark-gpu/std"]
asm = []
# asm = [ "sha2/asm" ]
parallel = ["dep:rayon", "ark-std/parallel", "ministark-gpu/parallel"]
# The gpu feature enables miniSTARK to use the GPU for proof generation.
# Currently only supports Apple Silicon devices.
gpu = []
[[bench]]
name = "merkle_tree"
path = "benches/merkle_tree.rs"
harness = false
[dependencies]
sha2 = "0.10"
digest = "0.10"
rand_chacha = "0.3"
ark-std = "0.4"
ark-ff = "0.4"
ark-poly = "0.4"
ark-serialize = "0.4"
ark-ff-optimized = "0.4"
ministark-gpu = { version = "0.3", path = "./gpu", features = ["arkworks"] }
num-traits = "0.2"
rand = "0.8"
snafu = { version = "0.7", default-features = false }
rayon = { version = "1.5", optional = true }
[dev-dependencies]
criterion = "0.4"
structopt = "0.3"
sha3 = "0.10"
num-bigint = "0.4"
num-integer = "0.1"
pollster = "0.2"
# taken from https://github.com/recmo/uint
# Compilation profile for any non-workspace member.
# Dependencies are optimized, even in a dev build. This improves dev performance
# while having neglible impact on incremental build times.
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 1
lto = true
[profile.bench]
codegen-units = 1
lto = true