X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-block-sync%2FCargo.toml;h=aec6d1404c098f0fe4b58b6af73ba40e6299e503;hb=85fdfaaa9c4421d8fbeb89202508ea7477730eb0;hp=f2032b05c3a8bd4081f5e2601249d869fa8d142b;hpb=6ca3b8ed496290cd9b6c49525d57a887a735a914;p=rust-lightning diff --git a/lightning-block-sync/Cargo.toml b/lightning-block-sync/Cargo.toml index f2032b05..aec6d140 100644 --- a/lightning-block-sync/Cargo.toml +++ b/lightning-block-sync/Cargo.toml @@ -9,13 +9,14 @@ Utilities to fetch the chain data from a block source and feed them into Rust Li """ [features] -rest-client = [ "serde_json", "chunked_transfer" ] -rpc-client = [ "serde_json", "chunked_transfer" ] +rest-client = [ "serde", "serde_json", "chunked_transfer" ] +rpc-client = [ "serde", "serde_json", "chunked_transfer" ] [dependencies] bitcoin = "0.24" lightning = { version = "0.0.12", path = "../lightning" } tokio = { version = "1.0", features = [ "io-util", "net" ], optional = true } +serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } chunked_transfer = { version = "1.4", optional = true } futures = { version = "0.3" }