forked from 0xProject/OpenZKP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (79 loc) · 2.47 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "zkp-primefield"
version = "0.2.0"
description = "A 251-bit prime field suitable for FFTs."
repository = "https://github.com/0xProject/starkcrypto/tree/master/algebra/primefield"
keywords = ["cryptography", "finite", "algebra", "no-std", "wasm"]
categories = ["algorithms", "cryptography", "no-std", "wasm", "science"]
authors = [
"Remco Bloemen <[email protected]>",
"Mason Liang <[email protected]>",
"Paul Vienhage <[email protected]>"]
readme = "Readme.md"
license = "Apache-2.0"
edition = "2018"
[dependencies]
crunchy = { version = "0.2.2", default_features = false }
hex = { version = "0.4.0", optional = true }
itertools = { version = "0.9.0", default_features = false }
log = "0.4.8"
memadvise = { version = "0.1.2", optional = true }
no-std-compat = { version = "0.4.0", features = [ "alloc" ] }
num-traits = { version = "0.2.10", default_features = false }
parity-scale-codec = { version = "1.3.0", default-features = false, optional = true }
proptest = { version = "0.9.4", optional = true }
rand = { version = "0.7.2", optional = true }
rayon = { version = "1.3.0", optional = true }
serde = { version = "1.0", features = ["derive"], default_features = false, optional = true }
zkp-macros-decl = { version = "0.2.0", path = "../../utils/macros-decl", default_features = false }
zkp-u256 = { version = "0.2.0", path = "../u256", default_features = false }
[dev-dependencies]
criterion = "0.3.0"
env_logger = "0.7.1"
num_cpus = "1.12.0"
proptest = "0.9.5"
rand = "0.7.2"
rand_xoshiro = "0.4.0"
raw-cpuid = "7.0.3"
serde_json = "1.0"
structopt = "0.3"
zkp-criterion-utils = { version = "0.2.0", path = "../../utils/criterion-utils" }
zkp-logging-allocator = { version = "0.2.0", path = "../../utils/logging-allocator" }
zkp-mmap-vec = { version = "0.2.0", path = "../../utils/mmap-vec" }
zkp-u256 = { version = "0.2.0", path = "../u256", features = ["proptest", "proptest-derive"] }
[[bench]]
name = "benchmark"
harness = false
[features]
default = [
"inline",
"rand",
"std",
"serde",
]
std = [
"crunchy/std",
"hex",
"itertools/use_std",
"memadvise",
"no-std-compat/std",
"num-traits/std",
"parity-scale-codec/std",
"rayon",
"serde/std",
"zkp-macros-decl/std",
"zkp-u256/std",
]
inline = [
"zkp-u256/inline",
]
asm = [
"zkp-u256/asm",
]
parity_codec = [
"parity-scale-codec/derive",
"zkp-u256/parity_codec",
]
# Allow math in docs
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"]