Skip to content

Commit 203621a

Browse files
nepetShahanaFarooqui
authored andcommitted
lsps: Implement JSON-RPC V2 client
Adds an async safe JSON-RPC V2 client for a generic transport layer. The transport layer we will use later on are BOLT8 lightning messages. Signed-off-by: Peter Neuroth <[email protected]>
1 parent ea5635c commit 203621a

File tree

5 files changed

+595
-30
lines changed

5 files changed

+595
-30
lines changed

Cargo.lock

Lines changed: 181 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/lsps-plugin/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,12 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7+
async-trait = "0.1"
8+
dashmap = "6.1"
9+
hex = "0.4"
10+
log = "0.4"
11+
rand = "0.9"
712
serde = { version = "1.0", features = ["derive"] }
813
serde_json = "1.0"
14+
thiserror = "2.0"
15+
tokio = { version = "1.44", features = ["full"] }

0 commit comments

Comments
 (0)