-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
68 lines (62 loc) · 2.15 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 = "tari_crypto"
description = "Tari Cryptography library"
authors = ["The Tari Development Community"]
repository = "https://github.com/tari-project/tari"
categories = ["cryptography"]
homepage = "https://tari.com"
readme = "README.md"
license = "BSD-3-Clause"
version = "0.21.0"
edition = "2018"
[dependencies]
tari_utilities = { version = "0.8", default-features = false }
blake2 = { version = "0.10", default-features = false }
borsh = { version = "1.5" , optional = true , default-features = false, features = ["derive"]}
bulletproofs_plus = { package = "tari_bulletproofs_plus", version = "0.4", optional = true }
curve25519-dalek = { version = "4", default-features = false, features = [ "alloc", "rand_core", "precomputed-tables", "zeroize"] }
digest = { version = "0.10", default-features = false }
log = { version = "0.4" , default-features = false}
merlin = { version = "3", default-features = false }
once_cell = { version = "1.8", default-features = false, features = ["critical-section"] }
rand_chacha = { version = "0.3", default-features = false }
rand_core = { version = "0.6" , default-features = false}
serde = { version = "1.0", optional = true }
sha3 = { version = "0.10", default-features = false }
snafu = { version = "0.7", default-features = false}
subtle = { version = "2.5.0", default-features = false }
zeroize = {version = "1" , default-features = false}
[dev-dependencies]
tari_utilities = { version = "0.8", features = ["std"] }
serde = { version = "1.0"}
bincode = { version = "1.1" }
criterion = { version = "0.5", default-features = false }
sha2 = { version = "0.10" }
rand = { version = "0.8" }
[features]
default = ["bulletproofs_plus", "serde", "precomputed_tables", "borsh"]
std = [
"blake2/std",
"borsh?/std",
"digest/std",
"log/std",
"merlin/std",
"once_cell/std",
"rand_chacha/std",
"rand_core/std",
"serde?/std",
"sha3/std",
"snafu/std",
"subtle/std",
"tari_utilities/std",
"zeroize/std",
]
precomputed_tables = []
[lib]
# Disable benchmarks to allow Criterion to take over
bench = false
crate-type = ["lib", "cdylib"]
[[bench]]
name = "benches"
path = "benches/mod.rs"
harness = false