Skip to content

Commit

Permalink
Depend on miniscript
Browse files Browse the repository at this point in the history
Now that we have a branch on `rust-miniscript` that depends on
`primitives`, `psbt-v0`, and `bip32` we can depend on `miniscript` here
in `rust-bitcoin` - BOOM!
  • Loading branch information
tcharding committed Jun 21, 2024
1 parent 5005a64 commit cf930fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ path = "psbt"

[patch.crates-io.bitcoin-units]
path = "units"

[patch.crates-io.miniscript]
path = "/home/tobin/build/github.com/tcharding/rust-miniscript/crate-smashing/"
9 changes: 5 additions & 4 deletions bitcoin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ exclude = ["tests", "contrib"]

[features]
default = [ "std", "secp-recovery" ]
std = ["base58/std", "bip32/std", "hashes/std", "hex/std", "internals/std", "io/std", "primitives/std", "psbt/std", "secp256k1/std", "units/std"]
rand-std = ["secp256k1/rand-std", "std"]
rand = ["secp256k1/rand"]
serde = ["actual-serde", "bip32/serde", "hashes/serde", "internals/serde", "primitives/serde", "psbt/serde", "secp256k1/serde", "units/serde"]
std = ["base58/std", "bip32/std", "hashes/std", "hex/std", "internals/std", "io/std", "miniscript/std", "primitives/crypto-std", "psbt/std", "secp256k1/std", "units/std"]
rand-std = ["miniscript/rand", "secp256k1/rand-std", "primitives/rand-std", "std"]
rand = ["miniscript/rand", "secp256k1/rand"]
serde = ["actual-serde", "bip32/serde", "hashes/serde", "internals/serde", "miniscript/serde", "primitives/crypto-serde", "psbt/serde", "secp256k1/serde", "units/serde"]
secp-lowmemory = ["secp256k1/lowmemory"]
secp-recovery = ["secp256k1/recovery"]
base64 = ["actual-base64", "psbt/base64"]
Expand All @@ -36,6 +36,7 @@ hashes = { package = "bitcoin_hashes", version = "0.14.0", default-features = fa
hex = { package = "hex-conservative", version = "0.2.0", default-features = false, features = ["alloc"] }
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
io = { package = "bitcoin-io", version = "0.1.1", default-features = false, features = ["alloc"] }
miniscript = { version = "13.0.0", default-features = false }
primitives = { package = "bitcoin-primitives", version = "0.1.0", default-features = false, features = ["crypto"] }
psbt = { package = "psbt-v0", version = "0.1.0", default-features = false, features = [] }
secp256k1 = { version = "0.29.0", default-features = false, features = ["hashes", "alloc"] }
Expand Down

0 comments on commit cf930fb

Please sign in to comment.