diff --git a/libp2p/CHANGELOG.md b/libp2p/CHANGELOG.md index fa2992846675..8f976c045ccb 100644 --- a/libp2p/CHANGELOG.md +++ b/libp2p/CHANGELOG.md @@ -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. diff --git a/libp2p/Cargo.toml b/libp2p/Cargo.toml index 06f269466ea1..52e052df5fa2 100644 --- a/libp2p/Cargo.toml +++ b/libp2p/Cargo.toml @@ -23,6 +23,7 @@ full = [ "floodsub", "gossipsub", "identify", + "json", "kad", "macros", "mdns", @@ -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"]