forked from BP-WG/bp-node
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
111 lines (97 loc) · 3.44 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
99
100
101
102
103
104
105
106
107
108
109
110
111
[workspace]
default-members = [".", "rpc", "client"]
members = [".", "rpc", "client"]
[workspace.package]
version = "0.11.0-alpha.1"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
keywords = ["bitcoin", "lightning-network", "lnp-bp", "bitcoin-node"]
categories = ["cryptography::cryptocurrencies", "network-programming"]
edition = "2021"
rust-version = "1.75.0"
license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.7.0"
strict_encoding = "2.7.0-rc.1"
bp-std = "0.11.0-beta.7"
bp-wallet = "0.11.0-beta.7"
sha2 = "0.10.8"
io-reactor = "0.5.2"
cyphernet = { version = "0.5.2", features = ["tor", "dns", "ed25519", "p2p-ed25519"] }
netservices = { version = "0.8.1", features = ["eidolon", "io-reactor"] }
socket2 = "0.5.7"
serde_crate = { package = "serde", version = "1", features = ["derive"] }
serde_json = "1.0.114"
serde_yaml = "0.9.19"
toml = "0.8.2"
clap = { version = "4.4.8", features = ["derive", "env"] }
clap_complete = "4.5.7"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
env_logger = { version = "0.11.3" }
shellexpand = { version = "3.1.0" }
dotenv = { version = "0.15" }
colored = "2.1.0"
settings = { version = "0.14", package = "config" }
configure_me = { version = "0.4" }
configure_me_codegen = "0.4.4"
[package]
name = "bp-node"
description = "BP Node: sovereign bitcoin wallet backend"
version.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
readme = "README.md"
build = "build.rs"
exclude = [".github", "Dockerfile", ".dockerignore", "contrib", "shell"]
[lib]
name = "bpnode"
[[bin]]
name = "bpd"
required-features = ["server"]
[dependencies]
amplify.workspace = true
bp-wallet = { workspace = true, features = ["cli"] }
bp-rpc = { version = "0.11.0-alpha.1", path = "rpc" }
io-reactor.workspace = true
cyphernet.workspace = true
netservices.workspace = true
socket2.workspace = true
serde_crate.workspace = true
serde_json.workspace = true
serde_yaml.workspace = true
toml.workspace = true
log.workspace = true
clap = { workspace = true, optional = true }
shellexpand = { workspace = true, optional = true }
settings = { workspace = true, optional = true }
configure_me = { workspace = true, optional = true }
dotenv = { workspace = true, optional = true }
colored.workspace = true
[build-dependencies]
amplify.workspace = true
bp-wallet = { workspace = true, features = ["cli"] }
bp-rpc = { version = "0.11.0-alpha.1", path = "rpc" }
clap.workspace = true
clap_complete.workspace = true
log.workspace = true
shellexpand.workspace = true
configure_me_codegen.workspace = true
[features]
default = ["server"]
# Server is a standalone application that runs daemons.
# Required for all apps that can be launched from command-line shell as binaries
# (i.e. both servers and cli)
server = ["dotenv", "clap", "settings", "configure_me", "shellexpand"]
# Embedded is an app that contains embedded node and that talks to it through
# integration layer
embedded = []
[package.metadata.configure_me]
spec = "config_spec.toml"
[patch.crates-io]
io-reactor = { git = "https://github.com/rust-amplify/io-reactor", branch = "terminate" }
cyphergraphy = { git = "https://github.com/cyphernet-dao/rust-cyphernet", branch = "master" }
cypheraddr = { git = "https://github.com/cyphernet-dao/rust-cyphernet", branch = "master" }
netservices = { git = "https://github.com/cyphernet-dao/rust-netservices", branch = "develop" }