-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCargo.toml
44 lines (36 loc) · 1.19 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
[package]
name = "tdn_did"
version = "0.10.0"
authors = ["Dev <[email protected]>"]
edition = "2021"
readme = "README.md"
description = "Distributed identity and wallet multiple accounts."
repository = "https://github.com/cympletech/tdn"
keywords = ["did", "tdn", "wallet"]
license = "MIT/Apache-2.0"
[features]
default = ["rand_chacha"]
ed25519 = ["ed25519-dalek", "curve25519-dalek"]
[dependencies]
tdn_types = { version = "0.10", path = "../types", default-features = false }
anyhow = "1.0"
zeroize = "1.5"
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }
# mnemonic (BIP-39)
hmac = { version = "0.12", default-features = false }
pbkdf2 = { version = "0.12", default-features = false }
sha2 = { version = "0.10", default-features = false }
unicode-normalization = { version = "0.1", default-features = false }
rand_chacha = { version = "0.3", optional = true }
[dependencies.ed25519-dalek]
git = "https://github.com/cympletech/ed25519-dalek"
default-features = false
optional = true
[dependencies.curve25519-dalek]
git = "https://github.com/cympletech/curve25519-dalek"
default-features = false
optional = true
[dev-dependencies]
bs58 = "0.5"
hex = "0.4"
ethsign = "0.9"