Skip to content

Commit

Permalink
chore(libp2p): expose json feature from request-response
Browse files Browse the repository at this point in the history
  • Loading branch information
David John committed Jul 17, 2023
1 parent fd3fc30 commit 6c42552
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.52.2
- Add `json` feature which exposes `request_response::json`

## 0.52.1

- Add `libp2p-webtransport-websys` providing WebTransport for WASM environments.
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 6c42552

Please sign in to comment.