[package]
edition = "2018"
name = "bip39"
version = "3.0.0"
authors = ["Steven Roose <steven@stevenroose.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for BIP-39 Bitcoin mnemonic codes"
homepage = "https://github.com/rust-bitcoin/rust-bip39/"
documentation = "https://docs.rs/bip39/"
readme = "README.md"
keywords = [
"crypto",
"bitcoin",
"bip39",
"mnemonic",
]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-bip39/"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
all-languages = [
"chinese-simplified",
"chinese-traditional",
"czech",
"french",
"italian",
"japanese",
"korean",
"portuguese",
"spanish",
]
alloc = ["unicode-normalization"]
chinese-simplified = []
chinese-traditional = []
czech = []
default = ["std"]
french = []
italian = []
japanese = []
korean = []
portuguese = []
rand = [
"crate_rand",
"rand_core",
]
spanish = []
std = [
"alloc",
"serde/std",
"unicode-normalization/std",
]
[lib]
name = "bip39"
path = "src/lib.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
[dependencies.bitcoin_hashes]
version = ">=0.12,<0.15"
default-features = false
[dependencies.crate_rand]
version = ">=0.7.0, <0.9.0"
optional = true
package = "rand"
[dependencies.rand_core]
version = ">=0.4.0, <0.7.0"
optional = true
[dependencies.serde]
version = "1.0"
features = ["alloc"]
optional = true
default-features = false
[dependencies.unicode-normalization]
version = "0.1.22"
optional = true
default-features = false
[dependencies.zeroize]
version = "1.5"
features = ["zeroize_derive"]
optional = true
default-features = false
[dev-dependencies.bitcoin_hashes]
version = ">=0.12,<0.15"
[dev-dependencies.serde_test]
version = "=1.0.117"