forked from Kixunil/tonic_lnd
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
73 lines (63 loc) · 2.11 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
[package]
name = "fedimint-tonic-lnd"
version = "0.2.0"
edition = "2021"
rust-version = "1.65.0"
description = "An async library implementing LND RPC via tonic and prost. Forked from https://github.com/Kixunil/tonic_lnd"
homepage = "https://github.com/fedimint/tonic_lnd"
repository = "https://github.com/fedimint/tonic_lnd"
readme = "README.md"
keywords = ["LND", "rpc", "grpc", "tonic", "async"]
categories = ["api-bindings", "asynchronous", "cryptography::cryptocurrencies", "network-programming"]
license = "MITNFA"
[features]
lightningrpc = []
signrpc = []
walletrpc = ["signrpc"]
peersrpc = []
versionrpc = []
routerrpc = ["lightningrpc"]
invoicesrpc = ["lightningrpc"]
staterpc = ["lightningrpc"]
all = ["lightningrpc", "walletrpc", "peersrpc", "versionrpc", "routerrpc", "invoicesrpc", "staterpc"]
default = ["all"]
[dependencies]
hex = "0.4.3"
http-body = "0.4.5"
hyper = { version = "0.14.27", features = ["client"], default-features = false }
prost = "0.12.0"
rustls = { version = "0.21.0", features = ["dangerous_configuration"], default-features = false }
rustls-pemfile = "1.0.0"
hyper-rustls = { version = "0.24.1", features = ["acceptor", "http2", "tls12"], default-features = false }
tonic = { version = "0.10.0", features = ["transport", "tls"] }
tokio = { version = "1.32.0", features = ["fs"] }
tokio-stream = { version = "0.1", features = ["net"] }
tower = "0.4.13"
[build-dependencies]
tonic-build = "0.10.0"
[dev-dependencies]
tokio = { version = "1.7.1", features = ["rt-multi-thread"] }
[[example]]
name = "get_info"
path = "examples/get_info.rs"
required-features = ["lightningrpc"]
[[example]]
name = "get_version"
path = "examples/get_version.rs"
required-features = ["versionrpc"]
[[example]]
name = "track_payment"
path = "examples/track_payment.rs"
required-features = ["routerrpc"]
[[example]]
name = "cancel_invoice"
path = "examples/cancel_invoice.rs"
required-features = ["invoicesrpc"]
[[example]]
name = "subscribe_invoices"
path = "examples/subscribe_invoices.rs"
required-features = ["invoicesrpc"]
[[example]]
name = "intercept_htlcs"
path = "examples/intercept_htlcs.rs"
required-features = ["routerrpc"]