Cargo Features
[dependencies]
pkarr = { version = "2.3.1", default-features = false, features = ["dht", "rand", "async", "relay", "full"] }
- dht default full?
-
Use [PkarrClient]
Enables dyn-clone and mainline ^2.0.1
- rand default full?
-
Use [Keypair::random]
Enables rand, rand_core of ed25519-dalek
- async full?
-
Use async versions of [PkarrClient] and/or [PkarrRelayClient]
- 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
somewhere in the dependency tree.default-features = false