Skip to content

Commit

Permalink
feat!: Remove simple::SimpleProtocol (#3191)
Browse files Browse the repository at this point in the history
Due to lack of usage, remove the `simple::SimpleProtocol`. Users may look at `libp2p::core::upgrade`
for alternatives.
  • Loading branch information
mxinden authored Dec 9, 2022
1 parent 8cb79f4 commit 4fe518d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 98 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@

# 0.51.0 [unreleased]

- Remove `SimpleProtocol` due to being unused. See [`libp2p::core::upgrade`](https://docs.rs/libp2p/0.50.0/libp2p/core/upgrade/index.html) for alternatives. See [PR 3191].

- Update individual crates.
- Update to [`libp2p-swarm` `v0.42.0`](swarm/CHANGELOG.md#0420).

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

# 0.50.0

This is a large release. After > 4 years, rust-libp2p ships with an [(alpha) QUIC
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ pub use libp2p_yamux as yamux;
mod transport_ext;

pub mod bandwidth;
pub mod simple;

#[cfg(doc)]
pub mod tutorials;
Expand All @@ -152,7 +151,6 @@ pub use self::core::{
PeerId, Transport,
};
pub use self::multiaddr::{multiaddr as build_multiaddr, Multiaddr};
pub use self::simple::SimpleProtocol;
pub use self::swarm::Swarm;
pub use self::transport_ext::TransportExt;

Expand Down
96 changes: 0 additions & 96 deletions src/simple.rs

This file was deleted.

0 comments on commit 4fe518d

Please sign in to comment.