Cargo Features
libp2p-request-response has no features set by default.
[dependencies]
libp2p-request-response = { version = "0.27.0", features = ["json", "cbor"] }
- json
-
Enables serde and serde_json, macros of libp2p-swarm
Affects
libp2p-request-response::json
… - cbor
-
Enables cbor4ii, serde, macros of libp2p-swarm
Affects
libp2p-request-response::cbor
…