2023-03-01 11:09:08 +01:00
|
|
|
[package]
|
|
|
|
name = "bdk_chain"
|
2023-07-04 12:28:06 -05:00
|
|
|
version = "0.5.0"
|
2023-03-01 11:09:08 +01:00
|
|
|
edition = "2021"
|
2023-03-02 22:05:11 -06:00
|
|
|
rust-version = "1.57"
|
2023-03-01 11:09:08 +01:00
|
|
|
homepage = "https://bitcoindevkit.org"
|
2023-03-02 19:15:36 +01:00
|
|
|
repository = "https://github.com/bitcoindevkit/bdk"
|
2023-03-01 11:09:08 +01:00
|
|
|
documentation = "https://docs.rs/bdk_chain"
|
|
|
|
description = "Collection of core structures for Bitcoin Dev Kit."
|
|
|
|
license = "MIT OR Apache-2.0"
|
2023-03-20 12:09:21 -05:00
|
|
|
readme = "README.md"
|
2023-03-01 11:09:08 +01:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-06-26 08:22:26 +08:00
|
|
|
# For no-std, remember to enable the bitcoin/no-std feature
|
2023-06-21 17:59:34 +02:00
|
|
|
bitcoin = { version = "0.30.0", default-features = false }
|
2023-03-01 11:09:08 +01:00
|
|
|
serde_crate = { package = "serde", version = "1", optional = true, features = ["derive"] }
|
2023-03-02 22:05:11 -06:00
|
|
|
|
2023-03-01 11:09:08 +01:00
|
|
|
# Use hashbrown as a feature flag to have HashSet and HashMap from it.
|
2023-03-02 22:05:11 -06:00
|
|
|
# note version 0.13 breaks outs MSRV.
|
2023-06-26 08:22:26 +08:00
|
|
|
hashbrown = { version = "0.11", optional = true, features = ["serde"] }
|
2023-06-21 17:59:34 +02:00
|
|
|
miniscript = { version = "10.0.0", optional = true, default-features = false }
|
2023-03-01 11:09:08 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
rand = "0.8"
|
|
|
|
|
|
|
|
[features]
|
2023-03-15 11:44:52 -05:00
|
|
|
default = ["std"]
|
2023-06-26 08:22:26 +08:00
|
|
|
std = ["bitcoin/std", "miniscript/std"]
|
|
|
|
serde = ["serde_crate", "bitcoin/serde"]
|