core-lightning/cln-grpc/Cargo.toml
2024-10-08 18:56:05 +02:00

35 lines
1.0 KiB
TOML

[package]
name = "cln-grpc"
version = "0.2.0"
edition = "2021"
license = "MIT"
description = "The Core Lightning API as grpc primitives. Provides the bindings used to expose the API over the network."
homepage = "https://github.com/ElementsProject/lightning/tree/master/cln-grpc"
repository = "https://github.com/ElementsProject/lightning"
documentation = "https://docs.rs/cln-grpc"
[features]
default = []
server = ["cln-rpc"]
[dependencies]
anyhow = "1.0"
log = "0.4"
cln-rpc = { path="../cln-rpc/", version = "0.2", optional = true }
serde = { version = "1.0", features = ["derive"] }
tonic = { version = "0.11", features = ["tls", "transport"] }
prost = "0.12"
hex = "0.4.3"
bitcoin = { version = "0.31", features = [ "serde" ] }
tokio-stream = { version = "0.1.14", features = ["sync"] }
tokio = { version = "1.36.0", features = ["sync"] }
futures-core = "0.3.30"
tokio-util = "0.7.10"
[dev-dependencies]
serde_json = "1.0.72"
cln-rpc = { path="../cln-rpc/", version = "0.2" }
[build-dependencies]
tonic-build = "0.11"