-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
44 lines (37 loc) · 1.37 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
[package]
name = "psbt-v0"
version = "0.1.1"
authors = ["Andrew Poelstra <[email protected]>", "Tobin C. Harding <[email protected]>"]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-psbt-v0/"
description = "Partially Signed Bitcoin Transaction Format - BIP-174"
categories = ["cryptography::cryptocurrencies"]
keywords = [ "psbt", "bip-174", "bip174", "psbt-v0", "psbtv0"]
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-std = ["bitcoin/rand-std", "std"]
rand = ["bitcoin/rand"]
serde = ["actual-serde", "bitcoin/serde", "bitcoin-internals/serde"]
[dependencies]
bitcoin = { version = "0.32.2", default-features = false }
bitcoin-internals = { version = "0.3.0", features = ["alloc"] }
base64 = { version = "0.21.3", 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"
bincode = "1.3.1"
serde_json = "1.0.0"
serde_test = "1.0.19"
secp256k1 = { version = "0.29", features = ["rand-std", "global-context"] }
[[example]]
name = "multisig"
required-features = ["rand-std"]