forked from maciejhirsz/tiny-bip39
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
53 lines (46 loc) · 1.38 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]
name = "tiny-bip39"
version = "1.0.0"
authors = [
"Stephen Oliver <steve@infincia.com>",
"Maciej Hirsz <hello@maciej.codes>",
]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/maciejhirsz/tiny-bip39/"
repository = "https://github.com/maciejhirsz/tiny-bip39/"
readme = "README.md"
description = "A fork of the bip39 crate with fixes to v0.6. Rust implementation of BIP-0039"
documentation = "https://docs.rs/tiny-bip39"
keywords = ["bip39", "bitcoin", "mnemonic"]
edition = "2018"
[lib]
name = "bip39"
path = "src/lib.rs"
[features]
chinese-simplified = []
chinese-traditional = []
# Note: English is the standard for bip39 so always included
french = []
italian = []
japanese = []
korean = []
spanish = []
default-langs = ["chinese-simplified", "chinese-traditional", "french", "italian", "japanese", "korean", "spanish"]
default = ["default-langs", "rand"]
[dependencies]
anyhow = "1.0.57"
thiserror = "1.0.31"
rustc-hash = "1.1.0"
sha2 = "0.10.2"
hmac = "0.12.1"
pbkdf2 = { version = "0.11.0", default-features = false }
rand = { version = "0.8.5", optional = true }
once_cell = "1.12.0"
unicode-normalization = "0.1.19"
zeroize = { version = "1.5.5", features = ["zeroize_derive"] }
[dev-dependencies]
hex = "0.4.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"