This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
56 lines (50 loc) · 1.7 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 = "bp-core"
version = "0.9.0"
license = "Apache-2.0"
authors = ["Dr. Maxim Orlovsky <[email protected]>"]
description = "Bitcoin Protocol Core Library (BP Core Lib)"
repository = "https://github.com/LNP-BP/bp-core"
homepage = "https://github.com/LNP-BP"
keywords = ["lnp-bp", "cryptocurrency", "smart-contracts", "bitcoin"]
categories = ["cryptography::cryptocurrencies", "encoding", "parsing"]
readme = "README.md"
edition = "2021"
rust-version = "1.59.0"
exclude = [".github", "dbc", "seals", "dbc-legacy", "seals-legacy"]
[lib]
name = "bp"
path = "src/lib.rs"
[[bin]]
name = "dbc"
required-features = ["cli", "serde"]
[[bin]]
name = "seals"
required-features = ["cli", "serde"]
[dependencies]
amplify = "3.13.0"
strict_encoding = "0.9.0"
commit_verify = "0.9.0"
single_use_seals = "0.9.0"
bitcoin = "0.29.2"
psbt = { version = "0.9.0", optional = true }
bp-dbc = { version = "0.9.0", path = "./dbc" }
bp-seals = { version = "0.9.0", path = "./seals" }
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }
serde_with = { version = "1.14", optional = true }
electrum-client = { version = "0.12.0", optional = true }
clap = { version = "~3.2.23", optional = true, features = ["derive"] }
colored = { version = "2", optional = true }
[features]
default = []
all = ["async", "serde", "cli", "wallet"]
cli = ["clap", "colored", "electrum-client", "wallet"]
wallet = ["psbt", "bp-dbc/wallet"]
async = ["bp-seals/async"]
serde = ["amplify/serde", "bitcoin/serde",
"commit_verify/serde", "bp-dbc/serde", "bp-seals/serde",
"serde_crate", "serde_with"]
[workspace]
members = [".", "dbc", "seals"]
default-members = [".", "dbc", "seals"]
exclude = ["dbc-legacy"]