55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
[package]
|
|
name = "bdk_wallet"
|
|
homepage = "https://bitcoindevkit.org"
|
|
version = "1.0.0-alpha.13"
|
|
repository = "https://github.com/bitcoindevkit/bdk"
|
|
documentation = "https://docs.rs/bdk"
|
|
description = "A modern, lightweight, descriptor-based wallet library"
|
|
keywords = ["bitcoin", "wallet", "descriptor", "psbt"]
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["Bitcoin Dev Kit Developers"]
|
|
edition = "2021"
|
|
rust-version = "1.63"
|
|
|
|
[dependencies]
|
|
rand_core = { version = "0.6.0" }
|
|
miniscript = { version = "12.0.0", features = ["serde"], default-features = false }
|
|
bitcoin = { version = "0.32.0", features = ["serde", "base64"], default-features = false }
|
|
serde = { version = "^1.0", features = ["derive"] }
|
|
serde_json = { version = "^1.0" }
|
|
bdk_chain = { path = "../chain", version = "0.16.0", features = ["miniscript", "serde"], default-features = false }
|
|
|
|
# Optional dependencies
|
|
bip39 = { version = "2.0", optional = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["bitcoin/std", "bitcoin/rand-std", "miniscript/std", "bdk_chain/std"]
|
|
compiler = ["miniscript/compiler"]
|
|
all-keys = ["keys-bip39"]
|
|
keys-bip39 = ["bip39"]
|
|
|
|
[dev-dependencies]
|
|
lazy_static = "1.4"
|
|
assert_matches = "1.5.0"
|
|
tempfile = "3"
|
|
bdk_sqlite = { path = "../sqlite" }
|
|
bdk_file_store = { path = "../file_store" }
|
|
anyhow = "1"
|
|
rand = "^0.8"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[[example]]
|
|
name = "mnemonic_to_descriptors"
|
|
path = "examples/mnemonic_to_descriptors.rs"
|
|
required-features = ["all-keys"]
|
|
|
|
[[example]]
|
|
name = "miniscriptc"
|
|
path = "examples/compiler.rs"
|
|
required-features = ["compiler"]
|