forked from 0xProject/OpenZKP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (52 loc) · 1.89 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
[package]
name = "zkp-elliptic-curve"
version = "0.1.0"
description = "A crypto-grade elliptic curve over `primefield`"
repository = "https://github.com/0xProject/starkcrypto/tree/master/algebra/elliptic-curve"
keywords = ["cryptography", "elliptic", "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]
zkp-macros-decl = { version = "0.1.0", path = "../../utils/macros-decl", default-features = false }
zkp-u256 = { version = "0.1.0", path = "../u256", default-features = false }
zkp-primefield = { version = "0.1.0", path = "../primefield", default-features = false }
no-std-compat = { version = "0.1.0", features = [ "alloc" ] }
itertools = { version = "0.8.0", default_features = false }
lazy_static = { version = "1.3.0", features = [ "spin_no_std" ] } # TODO: When `std` is set we want this feature off!
tiny-keccak = "1.5.0"
quickcheck = { version = "0.9", optional = true}
# HACK: Criterion is really a dev-dependency, but it's important that it's
# optional, or it will enable the `std` flag on various dependencies. Cargo
# does not allow dev-dependencies to be optional.
criterion = { version = "0.3.0", optional = true }
quickcheck_macros = { version = "0.8", optional = true }
[[bench]]
name = "benchmark"
harness = false
required-features = ["bench"]
[features]
default = [ "std" ]
std = [
"zkp-macros-decl/std",
"zkp-u256/std",
"zkp-primefield/std",
"no-std-compat/std",
"itertools/use_std",
]
test = [
"quickcheck",
"quickcheck_macros",
"zkp-u256/test",
"zkp-primefield/test",
]
bench = ["criterion"]
unsafe_ecdsa = []
# Allow math in docs
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"]