-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
42 lines (38 loc) · 1.21 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
[package]
name = "tetsy-crypto"
version = "0.8.1"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/tetcoin/tetsy-common"
description = "Crypto utils used by vapstore and network."
license = "MIT OR Apache-2.0"
autobenches = false
edition = "2018"
[[bench]]
name = "bench"
harness = false
required-features = ["publickey"]
[dependencies]
aes = "0.6.0"
aes-ctr = "0.6.0"
block-modes = "0.7.0"
digest = "0.9.0"
vapory-types = { version = "0.11.1", optional = true, path = "../vapory-types" }
hmac = "0.10.1"
lazy_static = { version = "1.4.0", optional = true }
pbkdf2 = "0.6.0"
ripemd160 = "0.9.1"
rustc-hex = { version = "2.1.0", default-features = false, optional = true }
scrypt = { version = "0.5.0" }
secp256k1 = { version = "0.20.0", optional = true, features = ["global-context", "recovery", "rand-std"] }
sha2 = "0.9.2"
subtle = "2.4.0"
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
zeroize = { version = "1.2.0", default-features = false }
[dev-dependencies]
criterion = "0.3.3"
hex-literal = "0.3.1"
[features]
default = []
# public key crypto utils
# moved from ethkey module in tetsy vapory repository
publickey = ["secp256k1", "lazy_static", "vapory-types", "rustc-hex"]