cln/plugins/Cargo.toml
daywalker90 e33f9e3c93 cln-subscribe-wildcard: properly handle shutdown notification with an exit
this would cause pytest teardowns to take the full timeout of killing a plugin
that should exit themselves

Changelog-None
2026-06-17 18:49:59 +09:30

38 lines
1.1 KiB
TOML

[package]
name = "cln-plugin"
version = "0.7.0"
edition = "2024"
license = "MIT"
description = "A CLN plugin library. Write your plugin in Rust."
homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins"
repository = "https://github.com/ElementsProject/lightning"
documentation = "https://docs.rs/cln-plugin"
rust-version.workspace = true
[[example]]
name = "cln-plugin-startup"
path = "examples/cln-plugin-startup.rs"
[dependencies]
anyhow = "1.0.51"
bytes = "1.1.0"
log = { version = "^0.4", features = ['std'] }
serde = { version = "^1", features = ["derive"] }
serde_json = "1.0.72"
tokio-util = { version = "0.7", features = ["codec"] }
tokio = { version = "1", features = [
'io-std',
'rt',
'sync',
'macros',
'io-util',
] }
tokio-stream = "0.1"
futures = "0.3"
tracing-subscriber = { version = "^0.3", features = ["env-filter", "tracing"] }
tracing = { version = "^0.1", features = ["async-await", "log"] }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
cln-grpc = { workspace = true }
cln-rpc = { workspace = true }