forked from rust-bitcoin/rust-miniscript
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
74 lines (59 loc) · 1.76 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "miniscript"
version = "12.2.0"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>, Sanket Kanjalkar <sanket1729@gmail.com>"]
license = "CC0-1.0"
homepage = "https://github.com/rust-bitcoin/rust-miniscript/"
repository = "https://github.com/rust-bitcoin/rust-miniscript/"
description = "Miniscript: a subset of Bitcoin Script designed for analysis"
keywords = [ "crypto", "bitcoin", "miniscript", "script" ]
readme = "README.md"
edition = "2021"
rust-version = "1.63.0"
[features]
default = ["std"]
std = ["bitcoin/std", "bitcoin/secp-recovery", "bech32/std"]
compiler = []
trace = []
serde = ["dep:serde", "bitcoin/serde"]
rand = ["bitcoin/rand"]
base64 = ["bitcoin/base64"]
[dependencies]
bech32 = { version = "0.11.0", default-features = false, features = ["alloc"] }
bitcoin = { version = "0.32.0", default-features = false }
serde = { version = "1.0.103", optional = true }
[dev-dependencies]
serde_test = "1.0.147"
bitcoin = { version = "0.32.0", features = ["base64"] }
secp256k1 = {version = "0.29.0", features = ["rand-std"]}
[[example]]
name = "htlc"
required-features = ["std", "compiler"]
[[example]]
name = "parse"
required-features = ["std"]
[[example]]
name = "sign_multisig"
required-features = ["std"]
[[example]]
name = "verify_tx"
required-features = ["std"]
[[example]]
name = "xpub_descriptors"
required-features = ["std"]
[[example]]
name = "taproot"
required-features = ["compiler","std"]
[[example]]
name = "psbt_sign_finalize"
required-features = ["std", "base64"]
[[example]]
name = "big"
required-features = ["std", "base64", "compiler"]
[[example]]
name = "taptree_of_horror"
path = "examples/taptree_of_horror/taptree_of_horror.rs"
required-features = ["compiler"]
[workspace]
members = ["fuzz"]
exclude = ["embedded", "bitcoind-tests"]