-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
56 lines (48 loc) · 1.67 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
[package]
name = "psbt-v2"
version = "0.2.0"
authors = ["Tobin C. Harding <[email protected]>"]
license = "CC0-1.0"
repository = "https://github.com/tcharding/rust-psbt/"
description = "Partially Signed Bitcoin Transaction, v0 and v2"
categories = ["cryptography::cryptocurrencies"]
keywords = [ "psbt", "bip-174", "bip174", "bip-370", "bip370"]
readme = "README.md"
edition = "2021"
rust-version = "1.63.0"
exclude = ["tests", "contrib"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
std = ["bitcoin/std", "bitcoin-internals/std"]
rand = ["bitcoin/rand"]
rand-std = ["bitcoin/rand-std"]
serde = ["actual-serde", "bitcoin/serde", "bitcoin-internals/serde"]
base64 = ["bitcoin/base64"]
miniscript-std = ["std", "miniscript/std"]
miniscript-no-std = ["miniscript/no-std"]
[dependencies]
bitcoin = { version = "0.32.2", default-features = false }
bitcoin-internals = { version = "0.3.0", features = ["alloc"] }
# Do NOT use this feature! Use one of the `miniscript-` features instead.
miniscript = { version = "12.2.0", default-features = false, optional = true }
# Do NOT use this as a feature! Use the `serde` feature instead.
actual-serde = { package = "serde", version = "1.0.103", default-features = false, features = [ "derive", "alloc" ], optional = true }
[dev-dependencies]
anyhow = "1"
serde_json = "1.0.0"
serde_test = "1.0.19"
serde_derive = "1.0.103"
bincode = "1.3.1"
secp256k1 = { version = "0.29", features = ["rand-std", "global-context"] }
[[example]]
name = "v0"
required-features = ["std"]
[[example]]
name = "v2"
required-features = ["std"]
[[example]]
name = "v2-separate-creator-constructor"
required-features = ["std"]