This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
53 lines (44 loc) · 1.53 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
[package]
authors = ["Daniel Olano <[email protected]>"]
autoexamples = true
edition = "2018"
name = "libwallet"
version = "0.3.0"
[dependencies]
# base dependencies
arrayvec = {version = "0.7.2", default-features = false}
serde = {version = "1.0", default-features = false, features = ["derive"], optional = true}
# feature util_pin
hmac = {version = "0.12.1", default-features = false, optional = true}
pbkdf2 = {version = "0.11.0", default-features = false, optional = true}
sha2 = {version = "0.10.2", default-features = false, optional = true}
mnemonic = {package = "bip0039", version = "0.10.1", default-features = false, optional = true}
rand_core = {version = "0.6.3", optional = true}
# substrate related
schnorrkel = {version = "0.10.2", default-features = false, optional = true}# soft derivation in no_std
rand_chacha = {version = "0.3.1", default-features = false, optional = true}
# vault os
keyring = {version = "1.1.2", optional = true}
# vault pass
prs-lib = {version = "0.2.1", optional = true}
[dev-dependencies]
async-std = {version = "1.10.0", features = ["attributes"]}
serde_json = {version = "1.0", default-features = false, features = ["alloc"]}
# pass vault example
dirs = "4.0"
[features]
default = ["std", "substrate", "vault_simple", "mnemonic", "rand"]
rand = ["rand_core"]
sr25519 = ["schnorrkel/u64_backend", "schnorrkel/getrandom"]
std = [
"rand_core/getrandom",
]
substrate = ["sr25519"]
util_pin = ["pbkdf2", "hmac", "sha2"]
vault_os = ["keyring"]
vault_pass = ["prs-lib"]
vault_simple = []
[workspace]
members = [
"js",
]