-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
98 lines (87 loc) · 3.14 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[workspace]
members = ["."]
exclude = ["convert"]
[workspace.package]
version = "0.11.0-beta.9"
keywords = ["bitcoin", "wallet", "descriptor-wallet", "psbt", "taproot"]
categories = ["cryptography::cryptocurrencies"]
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://lnp-bp.org"
repository = "https://github.com/BP-WG/bp-wallet"
rust-version = "1.77.0"
edition = "2021"
license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.7.0"
nonasync = "0.1.2"
bp-std = "0.11.0-beta.9"
psbt = "0.11.0-beta.9"
descriptors = "0.11.0-beta.9"
bp-esplora = { version = "0.11.0-beta.9", default-features = false, features = ["blocking"] }
bp-electrum = "0.11.0-beta.9"
serde_crate = { package = "serde", version = "1", features = ["derive"] }
serde_json = "1.0.114"
serde_yaml = "0.9.19"
toml = "0.8.2"
[package]
name = "bp-wallet"
version.workspace = true
description = "Modern, minimalistic & standard-compliant bitcoin wallet"
keywords.workspace = true
categories.workspace = true
readme = "README.md"
authors.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
edition.workspace = true
license.workspace = true
[[bin]]
name = "bp"
path = "src/bin/bp.rs"
required-features = ["cli"]
[[bin]]
name = "bp-hot"
path = "src/bin/bp-hot.rs"
required-features = ["hot", "cli"]
[lib]
name = "bpwallet"
[dependencies]
amplify = { workspace = true }
nonasync = { workspace = true }
strict_encoding = "2.7.0-beta.4"
bp-std = { workspace = true }
bp-esplora = { workspace = true, optional = true }
bp-electrum = { workspace = true, optional = true }
psbt = { workspace = true }
descriptors = { workspace = true }
sha2 = "0.10.8"
rand = { version = "0.8.5", optional = true }
rpassword = { version = "7.3.1", optional = true }
aes-gcm = { version = "0.10.3", optional = true }
bip39 = { version = "2.0.0", optional = true }
serde_crate = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
serde_yaml = { workspace = true, optional = true }
toml = { workspace = true, optional = true }
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
colored = { version = "2", optional = true }
# Cli-only:
base64 = { version = "0.22.1", optional = true }
env_logger = { version = "0.11.5", optional = true }
clap = { version = "4.5.16", features = ["derive", "env"], optional = true }
shellexpand = { version = "3.1.0", optional = true }
[features]
default = []
all = ["electrum", "esplora", "mempool", "fs", "cli", "clap", "log", "hot", "signers", "client-side-validation", "strict-encoding"]
signers = ["bp-std/signers", "bip39", "rand", "aes-gcm"]
hot = ["signers", "rpassword", "cli"]
cli = ["base64", "env_logger", "clap", "shellexpand", "fs", "serde", "electrum", "esplora", "mempool", "log", "colored"]
log = ["env_logger"]
electrum = ["bp-electrum", "serde", "serde_json"]
esplora = ["bp-esplora"]
mempool = ["esplora"]
fs = ["serde"]
client-side-validation = ["bp-std/client-side-validation", "psbt/client-side-validation"]
strict-encoding = ["bp-std/strict_encoding", "psbt/strict_encoding"]
serde = ["serde_crate", "serde_yaml", "toml", "bp-std/serde", "psbt/serde", "descriptors/serde"]