-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (33 loc) · 1.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
[package]
name = "ln-websocket-proxy"
description = "Websocket-based proxy for connecting to lightning nodes and mutiny wallets"
version = "0.3.1"
edition = "2021"
license-file = "LICENSE"
homepage = "https://github.com/Mutiny-Wallet/ln-websocket-proxy"
repository = "https://github.com/Mutiny-Wallet/ln-websocket-proxy"
[lib]
name = "ln_websocket_proxy"
path = "src/lib.rs"
[[bin]]
name = "ln_websocket_proxy"
path = "src/main.rs"
required-features = ["server"]
[dependencies]
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
serde_with = "2.1.0"
# Binary dependencies
axum = { version ="0.6.15", features = ["ws", "headers"], optional = true }
headers = { version = "0.3.8", optional = true }
tokio = { version = "^1.0", features = ["full"], optional = true }
tower-http = { version = "0.4.0", features = ["fs", "trace"], optional = true }
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"], optional = true }
bytes = { version = "1.3.0", optional = true }
bitcoin_hashes = { version = "0.11", default-features = true, optional = true }
futures = { version = "0.3.28", optional = true }
# explict dep due to nightly - https://github.com/rust-lang/rust/issues/113152
proc-macro2 = "1.0.64"
[features]
server = ["axum", "headers", "tokio", "tower-http", "tracing", "tracing-subscriber", "bytes", "bitcoin_hashes", "futures"]