[package]
edition = "2024"
rust-version = "1.85.0"
name = "bip0039"
version = "0.13.4"
authors = ["koushiro <koushiro.cqx@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Another Rust implementation of BIP-0039 standard"
homepage = "https://github.com/koushiro/rust-bips"
documentation = "https://docs.rs/bip0039"
readme = "README.md"
keywords = [
"bip39",
"bitcoin",
"crypto",
"mnemonic",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/koushiro/rust-bips"
[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",
]
chinese-simplified = []
chinese-traditional = []
czech = []
default = [
"std",
"rand",
]
french = []
italian = []
japanese = []
korean = []
portuguese = []
spanish = []
std = [
"hmac/std",
"pbkdf2/std",
"phf/std",
"sha2/std",
"unicode-normalization/std",
"zeroize/std",
]
[lib]
name = "bip0039"
path = "src/lib.rs"
[[test]]
name = "generate"
path = "tests/generate.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[dependencies.hmac]
version = "0.12"
default-features = false
[dependencies.pbkdf2]
version = "0.12"
default-features = false
[dependencies.phf]
version = "0.13"
default-features = false
[dependencies.rand]
version = "0.9"
optional = true
[dependencies.sha2]
version = "0.10"
default-features = false
[dependencies.unicode-normalization]
version = "0.1"
default-features = false
[dependencies.zeroize]
version = "1.8"
features = ["alloc"]
default-features = false
[dev-dependencies.const-hex]
version = "1.12"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[build-dependencies.anyhow]
version = "1.0"
[build-dependencies.phf_codegen]
version = "0.13"