Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(request-response): add modules for
json
and cbor
messages
This patch adds two modules to `libp2p::request_response`: - `cbor` - `json` Both define a `Behaviour` type-alias that comes with a `Codec` implementation which uses the respective `serde` crate to serialize and deserialize the messages. Fixes libp2p#3905. Pull-Request: libp2p#3952.
- Loading branch information