2022-01-17 12:59:09 +01:00
|
|
|
[package]
|
|
|
|
name = "cln-plugin"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2022-05-13 17:14:27 +02:00
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/ElementsProject/lightning/tree/master/plugins"
|
|
|
|
description = "A CLN plugin library. Write your plugin in Rust."
|
2022-01-17 12:59:09 +01:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "cln-plugin-startup"
|
|
|
|
path = "examples/cln-plugin-startup.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0.51"
|
|
|
|
bytes = "1.1.0"
|
2022-01-21 14:45:16 +01:00
|
|
|
log = { version = "0.4.14", features = ['std'] }
|
2022-01-17 12:59:09 +01:00
|
|
|
serde = { version = "1.0.131", features = ["derive"] }
|
|
|
|
serde_json = "1.0.72"
|
|
|
|
tokio-util = { version = "0.6.9", features = ["codec"] }
|
2022-05-13 17:20:02 +02:00
|
|
|
tokio = { version="1", features = ['io-std', 'rt', 'sync', 'macros', 'io-util'] }
|
|
|
|
tokio-stream = "0.1"
|
2022-01-17 12:59:09 +01:00
|
|
|
futures = "0.3"
|
2022-05-13 17:14:27 +02:00
|
|
|
cln-rpc = { path = "../cln-rpc", version = "0.1.0" }
|
2022-01-17 12:59:09 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", ] }
|
2022-05-13 17:20:02 +02:00
|
|
|
env_logger = "0.9"
|
2022-01-17 12:59:09 +01:00
|
|
|
cln-grpc = { path = "../cln-grpc" }
|