Cargo Features

lightning-block-sync has no features set by default.

[dependencies]
lightning-block-sync = { version = "0.0.125", features = ["rest-client", "rpc-client", "tokio"] }
rest-client = chunked_transfer, serde_json

Affects lightning-block-sync::rest, lightning-block-sync::http

rpc-client = chunked_transfer, serde_json

Affects lightning-block-sync::rpc, lightning-block-sync::http

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications

Affects gossip::TokioSpawner

serde_json rest-client? rpc-client?
chunked_transfer rest-client? rpc-client?