-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathCargo.toml
73 lines (65 loc) · 2.39 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
[workspace]
members = ["invoice", "derive", "descriptors", "psbt", "."]
resolver = "2"
[workspace.package]
version = "0.11.0-beta.9.1"
keywords = ["bitcoin", "wallet", "descriptors", "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" # Due to `rustfix`
edition = "2021"
license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.7.0"
bech32 = "0.9.1"
secp256k1 = "0.30.0"
strict_encoding = "2.7.0"
commit_verify = "0.11.0-beta.9"
bp-consensus = "0.11.0-beta.9"
bp-core = { version = "0.11.0-beta.9" }
bp-invoice = { version = "0.11.0-beta.9.1", path = "invoice" }
bp-derive = { version = "0.11.0-beta.9.1", path = "derive" }
descriptors = { version = "0.11.0-beta.9.1", path = "descriptors" }
psbt = { version = "0.11.0-beta.9.1", path = "psbt" }
indexmap = "2.4.0"
serde_crate = { package = "serde", version = "1", features = ["derive"] }
[package]
name = "bp-std"
description = "Modern & lightweight implementation of bitcoin standards without rust-bitcoin/miniscript dependencies"
readme = "README.md"
version.workspace = true
keywords.workspace = true
categories.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
name = "bpstd"
[dependencies]
amplify = { workspace = true }
secp256k1 = { workspace = true }
bp-consensus = { workspace = true }
bp-core = { workspace = true, optional = true }
bp-invoice = { workspace = true }
bp-derive = { workspace = true }
descriptors = { workspace = true }
psbt = { workspace = true }
serde_crate = { workspace = true, optional = true }
[features]
default = []
all = ["signers", "client-side-validation", "strict_encoding", "serde", "psbt/all"]
signers = ["secp256k1/global-context", "secp256k1/rand"]
strict_encoding = ["psbt/strict_encoding"]
client-side-validation = ["bp-core", "psbt/client-side-validation"]
serde = ["serde_crate", "bp-consensus/serde", "bp-invoice/serde", "bp-derive/serde", "descriptors/serde", "psbt/serde"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.8.4", optional = true }
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"