This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
74 lines (66 loc) · 2.37 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
[workspace]
default-members = [".", "rpc", "cli"]
members = [".", "rpc", "cli"]
[package]
name = "bp_node"
description = "BP Node: bitcoin blockchain indexing and notification service"
version = "0.8.0-alpha.2"
authors = ["Dr. Maxim Orlovsky <orlovsky@lnp-bp.org>"]
license = "MIT"
keywords = ["bitcoin", "lightning-network", "lnp-bp", "bitcoin-node"]
categories = ["cryptography::cryptocurrencies", "network-programming"]
edition = "2021"
rust-version = "1.59.0"
readme = "README.md"
build = "build.rs"
exclude = [".github", "Dockerfile", ".dockerignore", "contrib", "doc"]
[lib]
name = "bp_node"
[[bin]]
name = "bpd"
required-features = ["server"]
[dependencies]
# LNP/BP crates
amplify = "3.13.0"
strict_encoding = "0.8.1"
commit_verify = "0.8.0"
internet2 = { version = "0.8.3", features = ["keygen", "zmq"] }
microservices = { version = "0.8.10", default-features = false, features = ["node", "peer"] }
lnpbp = "0.8.0"
bp_rpc = { version = "0.8.0-alpha.2", path = "rpc" }
store_rpc = "0.8.0"
# OS
chrono = "0.4"
nix = "0.19"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
env_logger = "0.7"
clap = { version = "~3.1.18", optional = true, features = ["env", "derive"] }
settings = { version = "0.10", package = "config", optional = true }
configure_me = { version = "0.4", optional = true }
dotenv = { version = "0.15", optional = true }
colored = "2.0.0"
shellexpand = { version = "2", optional = true }
[build-dependencies]
amplify = "3.13.0"
internet2 = "0.8.3"
microservices = { version = "0.8.10", default-features = false, features = ["peer"] }
lnpbp = "0.8.0"
bp_rpc = { version = "0.8.0-alpha.2", path = "rpc" }
store_rpc = "0.8.0"
clap = { version = "~3.1.18", features = ["env", "derive"] }
clap_complete = "~3.1.4"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
shellexpand = "2"
configure_me_codegen = "0.4"
[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 = ["microservices/server", "dotenv", "clap", "settings", "configure_me",
"amplify/parse_arg", "shellexpand"]
# Embedded is an app that contains embedded node and that talks to it through
# integration layer
embedded = ["microservices/embedded"]
[package.metadata.configure_me]
spec = "config_spec.toml"