Skip to content

Commit

Permalink
chore(libp2p): expose json feature from request-response
Browse files Browse the repository at this point in the history
`cbor` feature was exposed in `libp2p` but not `json`.

Pull-Request: #4188.
  • Loading branch information
Dave authored Jul 20, 2023
1 parent f0b1b12 commit b18c77e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
- Include gossipsub when compiling for wasm.
See [PR 4217].

- Add `json` feature which exposes `request_response::json`.
See [PR 4188].

[PR 4188]: https://github.com/libp2p/rust-libp2p/pull/4188
[PR 4217]: https://github.com/libp2p/rust-libp2p/pull/4217

## 0.52.1
Expand Down
2 changes: 2 additions & 0 deletions libp2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ full = [
"floodsub",
"gossipsub",
"identify",
"json",
"kad",
"macros",
"mdns",
Expand Down Expand Up @@ -60,6 +61,7 @@ ed25519 = ["libp2p-identity/ed25519"]
floodsub = ["dep:libp2p-floodsub"]
gossipsub = ["dep:libp2p-gossipsub", "libp2p-metrics?/gossipsub"]
identify = ["dep:libp2p-identify", "libp2p-metrics?/identify"]
json = ["libp2p-request-response?/json"]
kad = ["dep:libp2p-kad", "libp2p-metrics?/kad"]
macros = ["libp2p-swarm/macros"]
mdns = ["dep:libp2p-mdns"]
Expand Down

0 comments on commit b18c77e

Please sign in to comment.