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

feat!: Remove simple::SimpleProtocol #3191

Merged
merged 7 commits into from Dec 9, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
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
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.