-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (56 loc) · 1.65 KB
/
Cargo.toml
File metadata and controls
67 lines (56 loc) · 1.65 KB
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
[package]
name = "psbt-v2"
version = "0.3.0"
authors = ["Tobin C. Harding <me@tobin.cc>"]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/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.74.0"
exclude = ["api", "tests", "contrib"]
[package.metadata.rbmt.toolchains]
nightly = "nightly-2026-04-04"
stable = "1.94.1"
[package.metadata.rbmt.test]
examples = [
"v0:std rand",
"v2:std",
"v2-separate-creator-constructor:std",
]
exact_features = [
["std", "miniscript", "serde"],
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
std = ["bitcoin/std", "miniscript?/std"]
rand = ["std", "bitcoin/rand-std"]
serde = ["dep:serde", "bitcoin/serde"]
base64 = ["bitcoin/base64"]
miniscript = ["dep:miniscript", "miniscript?/no-std"]
silent-payments = [] # Silent Payments support
[dependencies]
bitcoin = { version = "0.32.8", default-features = false }
arbitrary = { version = "1.0.1", optional = true }
miniscript = { version = "12.3.5", default-features = false, optional = true }
serde = { version = "1.0.195", default-features = false, features = ["derive", "alloc"], optional = true }
[dev-dependencies]
anyhow = "1.0.86"
serde_json = "1.0.68"
[[example]]
name = "v0"
required-features = ["std", "rand"]
[[example]]
name = "v2"
required-features = ["std"]
[[example]]
name = "v2-separate-creator-constructor"
required-features = ["std"]
[lints.clippy]
redundant_clone = "warn"
use_self = "warn"