# 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_chain" version = "0.20.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Collection of core structures for Bitcoin Dev Kit." homepage = "https://bitcoindevkit.org" documentation = "https://docs.rs/bdk_chain" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/bitcoindevkit/bdk" [lib] name = "bdk_chain" path = "src/lib.rs" [[test]] name = "test_indexed_tx_graph" path = "tests/test_indexed_tx_graph.rs" [[test]] name = "test_keychain_txout_index" path = "tests/test_keychain_txout_index.rs" [[test]] name = "test_local_chain" path = "tests/test_local_chain.rs" [[test]] name = "test_spk_txout_index" path = "tests/test_spk_txout_index.rs" [[test]] name = "test_tx_graph" path = "tests/test_tx_graph.rs" [[test]] name = "test_tx_graph_conflicts" path = "tests/test_tx_graph_conflicts.rs" [dependencies.bdk_core] version = "0.3.0" default-features = false [dependencies.bitcoin] version = "0.32.0" default-features = false [dependencies.miniscript] version = "12.0.0" optional = true default-features = false [dependencies.rusqlite] version = "0.31.0" features = ["bundled"] optional = true [dependencies.serde] version = "1" features = [ "derive", "rc", ] optional = true [dependencies.serde_json] version = "1" optional = true [dev-dependencies.proptest] version = "1.2.0" [dev-dependencies.rand] version = "0.8" [features] default = [ "std", "miniscript", ] hashbrown = ["bdk_core/hashbrown"] rusqlite = [ "std", "dep:rusqlite", "serde", "serde_json", ] serde = [ "dep:serde", "bitcoin/serde", "miniscript?/serde", "bdk_core/serde", ] std = [ "bitcoin/std", "miniscript?/std", "bdk_core/std", ] [lints.clippy] print_stderr = "deny" print_stdout = "deny"