2022-01-14 16:11:28 +01:00
|
|
|
[package]
|
|
|
|
name = "cln-rpc"
|
2022-12-13 16:06:10 +01:00
|
|
|
version = "0.1.2"
|
2022-01-14 16:11:28 +01:00
|
|
|
edition = "2021"
|
2022-11-11 18:18:41 +01:00
|
|
|
license = "MIT"
|
|
|
|
description = "An async RPC client for Core Lightning."
|
2022-01-14 16:11:28 +01:00
|
|
|
|
2022-01-14 18:56:00 +01:00
|
|
|
[[example]]
|
|
|
|
name = "cln-rpc-getinfo"
|
|
|
|
path = "examples/getinfo.rs"
|
|
|
|
|
2022-01-14 16:11:28 +01:00
|
|
|
[dependencies]
|
2022-11-11 18:18:41 +01:00
|
|
|
anyhow = "1.0"
|
2022-12-13 15:56:34 +01:00
|
|
|
bitcoin = { version = "0.29", features = [ "serde" ] }
|
|
|
|
bytes = "1"
|
|
|
|
futures-util = { version = "0.3", features = [ "sink" ] }
|
|
|
|
hex = "0.4.3"
|
2022-11-11 18:18:41 +01:00
|
|
|
log = "0.4"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2022-01-14 16:11:28 +01:00
|
|
|
tokio = { version = "1", features = ["net"]}
|
2022-12-13 15:56:34 +01:00
|
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
2022-01-14 16:11:28 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-12-13 15:56:34 +01:00
|
|
|
env_logger = "0.10"
|
2022-01-14 16:11:28 +01:00
|
|
|
tokio = { version = "1", features = ["net", "macros", "rt-multi-thread"]}
|