# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63" name = "bdk" version = "0.30.0" authors = [ "Alekos Filini ", "Riccardo Casatta ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A modern, lightweight, descriptor-based wallet library" homepage = "https://bitcoindevkit.org" documentation = "https://docs.rs/bdk" readme = "README.md" keywords = [ "bitcoin", "wallet", "descriptor", "psbt", ] license = "MIT OR Apache-2.0" repository = "https://github.com/bitcoindevkit/bdk" [package.metadata.docs.rs] features = [ "compiler", "electrum", "esplora", "use-esplora-blocking", "compact_filters", "rpc", "key-value-db", "sqlite", "all-keys", "verify", "hardware-signer", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "bdk" path = "src/lib.rs" [[example]] name = "compact_filters_balance" path = "examples/compact_filters_balance.rs" required-features = ["compact_filters"] [[example]] name = "electrum_backend" path = "examples/electrum_backend.rs" required-features = ["electrum"] [[example]] name = "esplora_backend_asynchronous" path = "examples/esplora_backend_asynchronous.rs" required-features = [ "use-esplora-reqwest", "reqwest-default-tls", "async-interface", ] [[example]] name = "esplora_backend_synchronous" path = "examples/esplora_backend_synchronous.rs" required-features = ["use-esplora-ureq"] [[example]] name = "hardware_signer" path = "examples/hardware_signer.rs" required-features = [ "electrum", "hardware-signer", ] [[example]] name = "miniscriptc" path = "examples/compiler.rs" required-features = ["compiler"] [[example]] name = "mnemonic_to_descriptors" path = "examples/mnemonic_to_descriptors.rs" required-features = ["all-keys"] [[example]] name = "policy" path = "examples/policy.rs" [[example]] name = "psbt_signer" path = "examples/psbt_signer.rs" required-features = ["electrum"] [[example]] name = "rpcwallet" path = "examples/rpcwallet.rs" required-features = [ "keys-bip39", "key-value-db", "rpc", "electrsd/bitcoind_22_0", ] [dependencies.async-trait] version = "0.1" optional = true [dependencies.bdk-macros] version = "^0.6" [dependencies.bip39] version = "2.0.0" optional = true [dependencies.bitcoin] version = "0.30" features = [ "serde", "base64", "rand-std", ] default-features = false [dependencies.bitcoinconsensus] version = "0.19.0-3" optional = true [dependencies.bitcoincore-rpc] version = "0.17" optional = true package = "core-rpc" [dependencies.cc] version = ">=1.0.64" optional = true [dependencies.electrum-client] version = "0.18" optional = true [dependencies.esplora-client] version = "0.6" optional = true default-features = false [dependencies.futures] version = "0.3" optional = true [dependencies.hwi] version = "0.7" features = ["miniscript"] optional = true [dependencies.log] version = "0.4" [dependencies.miniscript] version = "10.0" features = ["serde"] default-features = false [dependencies.rand] version = "^0.8" [dependencies.rocksdb] version = "0.18" features = ["snappy"] optional = true default-features = false [dependencies.rusqlite] version = "0.31.0" optional = true [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.sled] version = "0.34" optional = true [dependencies.socks] version = "0.3" optional = true [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.bitcoin] version = "0.30" features = ["std"] [dev-dependencies.electrsd] version = "0.29.0" [dev-dependencies.env_logger] version = "0.7" default-features = false [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.miniscript] version = "10.0" features = ["std"] [features] all-keys = ["keys-bip39"] async-interface = ["async-trait"] compact_filters = [ "rocksdb", "socks", "cc", ] compiler = ["miniscript/compiler"] default = [ "std", "key-value-db", "electrum", ] dev-getrandom-wasm = ["getrandom/js"] electrum = ["electrum-client"] esplora = [] hardware-signer = ["hwi"] key-value-db = ["sled"] keys-bip39 = ["bip39"] minimal = [] reqwest-default-tls = ["esplora-client/async-https"] rpc = ["bitcoincore-rpc"] sqlite = ["rusqlite"] sqlite-bundled = [ "sqlite", "rusqlite/bundled", ] std = [ "bitcoin/std", "miniscript/std", ] test-blockchains = [ "bitcoincore-rpc", "electrum-client", ] test-electrum = [ "electrum", "electrsd/electrs_0_8_10", "electrsd/bitcoind_23_1", "test-blockchains", ] test-esplora = [ "electrsd/legacy", "electrsd/esplora_a33e97e1", "electrsd/bitcoind_23_1", "test-blockchains", ] test-hardware-signer = ["hardware-signer"] test-md-docs = ["electrum"] test-rpc = [ "rpc", "electrsd/electrs_0_8_10", "electrsd/bitcoind_23_1", "test-blockchains", ] test-rpc-legacy = [ "rpc", "electrsd/electrs_0_8_10", "electrsd/bitcoind_23_1", "test-blockchains", ] use-esplora-async = [ "esplora", "esplora-client/async", "futures", ] use-esplora-blocking = [ "esplora", "esplora-client/blocking", ] use-esplora-reqwest = ["use-esplora-async"] use-esplora-ureq = ["use-esplora-blocking"] verify = ["bitcoinconsensus"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1" features = [ "rt", "macros", ] [target.'cfg(target_arch = "wasm32")'.dependencies.async-trait] version = "0.1" [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3"