-
Notifications
You must be signed in to change notification settings - Fork 68
/
Cargo.toml
49 lines (43 loc) · 1.69 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
[package]
name = "hkd32"
description = """
HMAC-based Hierarchical Key Derivation: deterministically derive
a hierarchy of symmetric keys from initial keying material through
repeated applications of the Hash-based Message Authentication Code
(HMAC) construction. Optionally supports storing root derivation
passwords as a 24-word mnemonic phrase (i.e. BIP39).
"""
version = "0.7.0-pre"
authors = ["Tony Arcieri <tony@iqlusion.io>"]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/iqlusioninc/crates/"
repository = "https://github.com/iqlusioninc/crates/tree/main/hkd32"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "bip32", "bip39", "derivation", "mnemonic"]
edition = "2021"
rust-version = "1.56"
[badges]
maintenance = { status = "passively-maintained" }
[dependencies]
hmac = { version = "0.12", default-features = false }
rand_core = { version = "0.6", default-features = false }
sha2 = { version = "0.10", default-features = false }
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
# optional dependencies
once_cell = { version = "1", optional = true }
pbkdf2 = { version = "0.10", optional = true, default-features = false }
subtle-encoding = { version = "0.5", optional = true, default-features = false, path = "../subtle-encoding" }
[dev-dependencies]
hex-literal = "0.3"
rand_core = { version = "0.6", features = ["std"] }
[features]
default = ["alloc", "bech32"]
alloc = ["zeroize/alloc"]
bech32 = ["alloc", "subtle-encoding/bech32-preview"]
bip39 = ["mnemonic", "pbkdf2"]
mnemonic = ["alloc", "once_cell"]
std = [ ]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]