Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove deprecated libp2p-deflate #4729

Merged
merged 5 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

## Transport Protocols & Upgrades

- [`libp2p-deflate` CHANGELOG](transports/deflate/CHANGELOG.md)
- [`libp2p-dns` CHANGELOG](transports/dns/CHANGELOG.md)
- [`libp2p-noise` CHANGELOG](transports/noise/CHANGELOG.md)
- [`libp2p-perf` CHANGELOG](transports/perf/CHANGELOG.md)
Expand Down
34 changes: 0 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ members = [
"swarm",
"swarm-derive",
"swarm-test",
"transports/deflate",
"transports/dns",
"transports/noise",
"transports/plaintext",
Expand Down Expand Up @@ -78,7 +77,6 @@ libp2p-autonat = { version = "0.12.0", path = "protocols/autonat" }
libp2p-connection-limits = { version = "0.3.0", path = "misc/connection-limits" }
libp2p-core = { version = "0.41.0", path = "core" }
libp2p-dcutr = { version = "0.11.0", path = "protocols/dcutr" }
libp2p-deflate = { version = "0.41.0", path = "transports/deflate" }
libp2p-dns = { version = "0.41.0", path = "transports/dns" }
libp2p-floodsub = { version = "0.44.0", path = "protocols/floodsub" }
libp2p-gossipsub = { version = "0.46.0", path = "protocols/gossipsub" }
Expand Down
3 changes: 3 additions & 0 deletions libp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
- Remove deprecated `libp2p-wasm-ext`.
Users should use `libp2p-websocket-websys` instead.
See [PR 4694](https://github.com/libp2p/rust-libp2p/pull/4694).
- Remove deprecated `libp2p-deflate`.
See [issue 4522](https://github.com/libp2p/rust-libp2p/issues/4522) for details.
See [PR 4729](https://github.com/libp2p/rust-libp2p/pull/4729).
- Remove deprecated `development_transport`.
Use `libp2p::SwarmBuilder` instead.
See [PR 4732](https://github.com/libp2p/rust-libp2p/pull/4732).
Expand Down
3 changes: 0 additions & 3 deletions libp2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ full = [
"autonat",
"cbor",
"dcutr",
"deflate",
"dns",
"ecdsa",
"ed25519",
Expand Down Expand Up @@ -56,7 +55,6 @@ async-std = [ "libp2p-swarm/async-std", "libp2p-mdns?/async-io", "libp2p-tcp?/as
autonat = ["dep:libp2p-autonat"]
cbor = ["libp2p-request-response?/cbor"]
dcutr = ["dep:libp2p-dcutr", "libp2p-metrics?/dcutr"]
deflate = ["dep:libp2p-deflate"]
dns = ["dep:libp2p-dns"]
ecdsa = ["libp2p-identity/ecdsa"]
ed25519 = ["libp2p-identity/ed25519"]
Expand Down Expand Up @@ -128,7 +126,6 @@ pin-project = "1.0.0"
thiserror = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libp2p-deflate = { workspace = true, optional = true }
libp2p-dns = { workspace = true, optional = true }
libp2p-mdns = { workspace = true, optional = true }
libp2p-memory-connection-limits = { workspace = true, optional = true }
Expand Down
9 changes: 0 additions & 9 deletions libp2p/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ pub use libp2p_core as core;
#[cfg(feature = "dcutr")]
#[doc(inline)]
pub use libp2p_dcutr as dcutr;

#[cfg(feature = "deflate")]
#[cfg(not(target_arch = "wasm32"))]
#[deprecated(
note = "Will be removed in the next release, see https://github.com/libp2p/rust-libp2p/issues/4522 for details."
)]
pub mod deflate {
pub use libp2p_deflate::*;
}
#[cfg(feature = "dns")]
#[cfg_attr(docsrs, doc(cfg(feature = "dns")))]
#[cfg(not(target_arch = "wasm32"))]
Expand Down
115 changes: 0 additions & 115 deletions transports/deflate/CHANGELOG.md

This file was deleted.

33 changes: 0 additions & 33 deletions transports/deflate/Cargo.toml

This file was deleted.

Loading