[package]
edition = "2024"
rust-version = "1.85"
name = "md-cli"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for the Mnemonic Descriptor (MD) engravable BIP 388 wallet policy backup format"
homepage = "https://github.com/bg002h/descriptor-mnemonic"
documentation = "https://docs.rs/md-cli"
readme = "README.md"
keywords = [
"bitcoin",
"bip388",
"wallet",
"descriptor",
"bech32",
]
categories = [
"cryptography::cryptocurrencies",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/bg002h/descriptor-mnemonic"
[features]
cli-compiler = ["miniscript/compiler"]
default = ["json"]
json = [
"dep:serde",
"dep:serde_json",
]
[[bin]]
name = "md"
path = "src/main.rs"
[[test]]
name = "cmd_address"
path = "tests/cmd_address.rs"
[[test]]
name = "cmd_address_json"
path = "tests/cmd_address_json.rs"
[[test]]
name = "cmd_bytecode"
path = "tests/cmd_bytecode.rs"
[[test]]
name = "cmd_compile"
path = "tests/cmd_compile.rs"
[[test]]
name = "cmd_decode"
path = "tests/cmd_decode.rs"
[[test]]
name = "cmd_encode"
path = "tests/cmd_encode.rs"
[[test]]
name = "cmd_gui_schema"
path = "tests/cmd_gui_schema.rs"
[[test]]
name = "cmd_inspect"
path = "tests/cmd_inspect.rs"
[[test]]
name = "cmd_verify"
path = "tests/cmd_verify.rs"
[[test]]
name = "compile"
path = "tests/compile.rs"
[[test]]
name = "exit_codes"
path = "tests/exit_codes.rs"
[[test]]
name = "help_examples"
path = "tests/help_examples.rs"
[[test]]
name = "json_snapshots"
path = "tests/json_snapshots.rs"
[[test]]
name = "scaffold"
path = "tests/scaffold.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "template_roundtrip"
path = "tests/template_roundtrip.rs"
[[test]]
name = "v017_v1_encode_acceptance"
path = "tests/v017_v1_encode_acceptance.rs"
[[test]]
name = "vector_corpus"
path = "tests/vector_corpus.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.bip39]
version = "2.2.2"
[dependencies.bitcoin]
version = "0.32"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.md-codec]
version = "0.32.1"
[dependencies.miniscript]
version = "13.0.0"
features = ["std"]
default-features = false
[dependencies.regex]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.insta]
version = "1.40"
features = ["json"]
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.13"
[lints.clippy]
all = "warn"
[lints.rust]
missing_docs = "warn"