This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
/
Cargo.toml
65 lines (60 loc) · 1.77 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
[package]
name = "zkp-u256"
version = "0.2.1"
description = "Performant implementation of 256-bit unsigned integers"
repository = "https://github.com/0xProject/starkcrypto/tree/master/algebra/u256"
keywords = ["cryptography", "u256", "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", default_features = false }
itertools = { version = "0.9.0", default_features = false }
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 }
proptest-derive = { version = "0.1.2", optional = true }
rand = { version = "0.7.2", optional = true }
serde = { version = "1.0", default_features = false, optional = true }
[dev-dependencies]
bincode = "1.2.1"
criterion = "0.3.0"
proptest = "0.9.5"
proptest-derive = "0.1.2"
serde_json = "1.0"
zkp-macros-decl = { version = "0.2.0", path = "../../utils/macros-decl" }
[[bench]]
name = "benchmark"
harness = false
[features]
default = [
"inline",
"rand",
"std",
"serde",
]
std = [
"crunchy/std",
"hex/std",
"itertools/use_std",
"no-std-compat/std",
"num-traits/std",
"parity-scale-codec/std",
"serde/std",
]
asm = []
stable = []
inline = []
parity_codec = [
"parity-scale-codec/derive",
]
# Allow math in docs
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"]