[package] name = "fedimint-cln-rpc" version = "0.5.0" # code from cln-rpc 0.2, but we already had a 0.4 published for some reason edition = "2021" license = "MIT" description = "Fork of cln-rpc with updated bitcoin dependency" homepage = "https://github.com/ElementsProject/lightning/tree/master/cln-rpc" repository = "https://github.com/ElementsProject/lightning" documentation = "https://docs.rs/cln-rpc" [[example]] name = "cln-rpc-getinfo" path = "examples/getinfo.rs" [dependencies] anyhow = "1.0" bitcoin = { version = "0.32", features = [ "serde" ] } bytes = "1" futures-util = { version = "0.3", features = [ "sink" ] } hex = "0.4.3" log = "0.4" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version = "1", features = ["net"]} tokio-util = { version = "0.7", features = ["codec"] } [dev-dependencies] env_logger = "0.10" tokio = { version = "1", features = ["net", "macros", "rt-multi-thread"]} tokio-test = "0.4.3"