-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (58 loc) · 2.22 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
[package]
name = "miniscript"
version = "11.0.0"
authors = ["Andrew Poelstra <[email protected]>, Sanket Kanjalkar <[email protected]>"]
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 = "2018"
[features]
default = ["std"]
std = ["bitcoin/std", "bitcoin/secp-recovery", "tapyrus/std", "tapyrus/secp-recovery", "bech32/std"]
no-std = ["bitcoin/no-std", "tapyrus/no-std", "bech32/alloc"]
compiler = []
trace = []
serde = ["actual-serde", "bitcoin/serde", "tapyrus/serde"]
rand = ["bitcoin/rand", "tapyrus/rand"]
base64 = ["bitcoin/base64", "tapyrus/base64"]
[dependencies]
bech32 = { version = "0.10.0-beta", default-features = false }
bitcoin = { version = "0.31.0", default-features = false }
tapyrus = { git = "https://github.com/chaintope/rust-tapyrus", branch = "update_on_bitcoin_0.31.x", default-features = false, subdirectory = "tapyrus" }
internals = { package = "bitcoin-internals", version = "0.2.0", default_features = false }
# Do NOT use this as a feature! Use the `serde` feature instead.
actual-serde = { package = "serde", version = "1.0.103", optional = true }
[dev-dependencies]
serde_test = "1.0.147"
bitcoin = { version = "0.31.0", features = ["base64"] }
tapyrus = { git = "https://github.com/chaintope/rust-tapyrus", branch = "update_on_bitcoin_0.31.x", features = ["base64"], subdirectory = "tapyrus" }
secp256k1 = {version = "0.28.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"]
[workspace]
members = ["bitcoind-tests", "fuzz"]
exclude = ["embedded"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }