-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
67 lines (62 loc) · 1.58 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "bip0039"
version = "0.11.0"
authors = ["koushiro <koushiro.cqx@gmail.com>"]
edition = "2021"
rust-version = "1.57"
resolver = "2"
description = "Another Rust implementation of BIP-0039 standard"
readme = "README.md"
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/bip0039"
repository = "https://github.com/koushiro/bip0039"
keywords = ["bip39", "bitcoin", "crypto", "mnemonic"]
categories = ["cryptography"]
exclude = ["words"]
# docs.rs-specific configuration
[package.metadata.docs.rs]
# RUSTDOCFLAGS="--cfg doc_cfg"
# To build locally: cargo +nightly doc --all-features --no-deps --open
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]
[features]
default = ["std", "rand"]
std = [
"hmac/std",
"pbkdf2/std",
"sha2/std",
"unicode-normalization/std",
]
# Support all languages
# Note: English is the standard so always included
all-languages = [
"chinese-simplified",
"chinese-traditional",
"czech",
"french",
"italian",
"japanese",
"korean",
"portuguese",
"spanish",
]
chinese-simplified = []
chinese-traditional = []
czech = []
french = []
italian = []
japanese = []
korean = []
portuguese = []
spanish = []
[dependencies]
hmac = { version = "0.12", default-features = false }
pbkdf2 = { version = "0.11", default-features = false }
rand = { version = "0.8", optional = true }
sha2 = { version = "0.10", default-features = false }
unicode-normalization = { version = "0.1", default-features = false }
zeroize = "1.2"
[dev-dependencies]
hex = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"