# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "cln-plugin" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A CLN plugin library. Write your plugin in Rust." homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins" documentation = "https://docs.rs/cln-plugin" readme = "README.md" license = "MIT" repository = "https://github.com/ElementsProject/lightning" [lib] name = "cln_plugin" path = "src/lib.rs" [[example]] name = "cln-plugin-reentrant" path = "examples/cln-plugin-reentrant.rs" [[example]] name = "cln-plugin-startup" path = "examples/cln-plugin-startup.rs" [[example]] name = "cln-subscribe-wildcard" path = "examples/cln-subscribe-wildcard.rs" [dependencies.anyhow] version = "1.0.51" [dependencies.bytes] version = "1.1.0" [dependencies.futures] version = "0.3" [dependencies.log] version = "^0.4" features = ["std"] [dependencies.serde] version = "^1" features = ["derive"] [dependencies.serde_json] version = "1.0.72" [dependencies.tokio] version = "1" features = [ "io-std", "rt", "sync", "macros", "io-util", ] [dependencies.tokio-stream] version = "0.1" [dependencies.tokio-util] version = "0.7" features = ["codec"] [dependencies.tracing] version = "^0.1" features = [ "async-await", "log", ] [dependencies.tracing-subscriber] version = "^0.3" features = [ "env-filter", "tracing", ] [dev-dependencies.cln-grpc] version = "0.2" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ]