Files
palladum-lightning/plugins/lsps-plugin/Cargo.toml
Peter Neuroth ffc05ddcf0 plugins: lsps: add slim generic json-rpc router
This router is very lightweight and can handle routing for the lsps
service. It avoids allocations by just borrowing from the request. This
is much cleaner than what we have now and reduces the amount of
serializations by a lot.

Also it supports typed handlers which will remove serialization overhead
from the handlers in future commits

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
2025-12-17 05:56:01 +10:30

29 lines
597 B
TOML

[package]
name = "cln-lsps"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "cln-lsps-client"
path = "src/client.rs"
[[bin]]
name = "cln-lsps-service"
path = "src/service.rs"
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
bitcoin = "0.31"
chrono = { version= "0.4.42", features = ["serde"] }
cln-plugin = { workspace = true }
cln-rpc = { workspace = true }
hex = "0.4"
log = "0.4"
paste = "1.0.15"
rand = "0.9"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
thiserror = "2.0"
tokio = { version = "1.44", features = ["full"] }