[package]
edition = "2024"
rust-version = "1.85"
name = "md-codec"
version = "0.32.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference implementation of the Mnemonic Descriptor (MD) format for engravable BIP 388 wallet policy backups"
homepage = "https://github.com/bg002h/descriptor-mnemonic"
documentation = "https://docs.rs/md-codec"
readme = "README.md"
keywords = [
"bitcoin",
"bip388",
"wallet",
"descriptor",
"bech32",
]
categories = [
"cryptography::cryptocurrencies",
"encoding",
]
license = "MIT"
repository = "https://github.com/bg002h/descriptor-mnemonic"
[features]
default = ["derive"]
derive = ["dep:miniscript"]
[lib]
name = "md_codec"
path = "src/lib.rs"
[[test]]
name = "address_derivation"
path = "tests/address_derivation.rs"
[[test]]
name = "bip341_wallet_vectors"
path = "tests/bip341_wallet_vectors.rs"
[[test]]
name = "chunking"
path = "tests/chunking.rs"
[[test]]
name = "forward_compat"
path = "tests/forward_compat.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "wallet_policy"
path = "tests/wallet_policy.rs"
[dependencies.bip39]
version = "2.2.2"
[dependencies.bitcoin]
version = "0.32"
[dependencies.miniscript]
version = "13.0.0"
features = ["std"]
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
all = "warn"
[lints.rust]
missing_docs = "warn"