Cargo Features
[dependencies]
tatami = { version = "0.1.6", default-features = false, features = ["satellite", "dht", "mdns", "tokio", "serde", "serde_json", "libp2p"] }
- default = libp2p
-
The
libp2p
feature is set by default whenevertatami
is added without
somewhere in the dependency tree.default-features = false - satellite dht? mdns? = libp2p, serde_json, tokio
-
Enables void and autonat, deflate, dns-tokio, gossipsub, identify, kad, mplex, noise, ping, plaintext, pnet, relay, rendezvous, secp256k1, tcp-tokio, uds, wasm-ext, websocket and yamux of libp2p ^0.49.0
p2p
- dht = satellite
-
Enables request-response of libp2p ^0.49.0
Affects
behaviour::SwarmBehaviour.request_response
,swarm::dht
… - mdns = satellite
-
Enables mdns-tokio of libp2p ^0.49.0
Affects
behaviour::SwarmBehaviour.mdns
… - tokio satellite?
-
Enables tokio and tokio-stream
tokio-stream:
async
- serde serde_json?
-
Enables serde
Serializaiton
- serde_json satellite? = serde
-
Enables serde_json
- libp2p default dht? mdns? satellite?
-
Enables libp2p ^0.49.0
Affects
tatami::random_key
…