Cargo Features

libp2p-tcp has no features set by default.

[dependencies]
libp2p-tcp = { version = "0.42.0", features = ["tokio", "async-io"] }
tokio

Enables tokio, tokio of if-watch

Affects provider::tokio

async-io

Enables async-io, smol of if-watch

Affects provider::async_io