Cargo Features

[dependencies]
pkarr = { version = "2.0.1", default-features = false, features = ["dht", "rand", "async", "relay", "full"] }
dht default full?

Use [PkarrClient]

Enables dyn-clone and mainline

rand default full?

Use [Keypair::random]

Enables rand, rand_core of ed25519-dalek

async full?

Use async versions of [PkarrClient] and/or [PkarrRelayClient]

Enables async of flume

relay full?

Use [PkarrRelayClient]

Enables ureq

full = async, dht, rand, relay

Use all features

default = dht, rand

These default features are set whenever pkarr is added without default-features = false somewhere in the dependency tree.