Skip to content

Commit 51dd702

Browse files
chore: remove deprecated libp2p-deflate
Related: #4522. Pull-Request: #4729.
1 parent e00cb53 commit 51dd702

File tree

10 files changed

+3
-557
lines changed

10 files changed

+3
-557
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
## Transport Protocols & Upgrades
2626

27-
- [`libp2p-deflate` CHANGELOG](transports/deflate/CHANGELOG.md)
2827
- [`libp2p-dns` CHANGELOG](transports/dns/CHANGELOG.md)
2928
- [`libp2p-noise` CHANGELOG](transports/noise/CHANGELOG.md)
3029
- [`libp2p-perf` CHANGELOG](transports/perf/CHANGELOG.md)

Cargo.lock

Lines changed: 0 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ members = [
4949
"swarm",
5050
"swarm-derive",
5151
"swarm-test",
52-
"transports/deflate",
5352
"transports/dns",
5453
"transports/noise",
5554
"transports/plaintext",
@@ -78,7 +77,6 @@ libp2p-autonat = { version = "0.12.0", path = "protocols/autonat" }
7877
libp2p-connection-limits = { version = "0.3.0", path = "misc/connection-limits" }
7978
libp2p-core = { version = "0.41.0", path = "core" }
8079
libp2p-dcutr = { version = "0.11.0", path = "protocols/dcutr" }
81-
libp2p-deflate = { version = "0.41.0", path = "transports/deflate" }
8280
libp2p-dns = { version = "0.41.0", path = "transports/dns" }
8381
libp2p-floodsub = { version = "0.44.0", path = "protocols/floodsub" }
8482
libp2p-gossipsub = { version = "0.46.0", path = "protocols/gossipsub" }

libp2p/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
- Remove deprecated `libp2p-wasm-ext`.
66
Users should use `libp2p-websocket-websys` instead.
77
See [PR 4694](https://github.com/libp2p/rust-libp2p/pull/4694).
8+
- Remove deprecated `libp2p-deflate`.
9+
See [issue 4522](https://github.com/libp2p/rust-libp2p/issues/4522) for details.
10+
See [PR 4729](https://github.com/libp2p/rust-libp2p/pull/4729).
811
- Remove deprecated `development_transport`.
912
Use `libp2p::SwarmBuilder` instead.
1013
See [PR 4732](https://github.com/libp2p/rust-libp2p/pull/4732).

libp2p/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ full = [
1616
"autonat",
1717
"cbor",
1818
"dcutr",
19-
"deflate",
2019
"dns",
2120
"ecdsa",
2221
"ed25519",
@@ -56,7 +55,6 @@ async-std = [ "libp2p-swarm/async-std", "libp2p-mdns?/async-io", "libp2p-tcp?/as
5655
autonat = ["dep:libp2p-autonat"]
5756
cbor = ["libp2p-request-response?/cbor"]
5857
dcutr = ["dep:libp2p-dcutr", "libp2p-metrics?/dcutr"]
59-
deflate = ["dep:libp2p-deflate"]
6058
dns = ["dep:libp2p-dns"]
6159
ecdsa = ["libp2p-identity/ecdsa"]
6260
ed25519 = ["libp2p-identity/ed25519"]
@@ -128,7 +126,6 @@ pin-project = "1.0.0"
128126
thiserror = "1.0"
129127

130128
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
131-
libp2p-deflate = { workspace = true, optional = true }
132129
libp2p-dns = { workspace = true, optional = true }
133130
libp2p-mdns = { workspace = true, optional = true }
134131
libp2p-memory-connection-limits = { workspace = true, optional = true }

libp2p/src/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ pub use libp2p_core as core;
5151
#[cfg(feature = "dcutr")]
5252
#[doc(inline)]
5353
pub use libp2p_dcutr as dcutr;
54-
55-
#[cfg(feature = "deflate")]
56-
#[cfg(not(target_arch = "wasm32"))]
57-
#[deprecated(
58-
note = "Will be removed in the next release, see https://github.com/libp2p/rust-libp2p/issues/4522 for details."
59-
)]
60-
pub mod deflate {
61-
pub use libp2p_deflate::*;
62-
}
6354
#[cfg(feature = "dns")]
6455
#[cfg_attr(docsrs, doc(cfg(feature = "dns")))]
6556
#[cfg(not(target_arch = "wasm32"))]

transports/deflate/CHANGELOG.md

Lines changed: 0 additions & 115 deletions
This file was deleted.

transports/deflate/Cargo.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)