Skip to content

Commit

Permalink
fix(libp2p): Export perf protocol
Browse files Browse the repository at this point in the history
As we do with all other protocols, make sure to expose `libp2p-perf` as well.

See also discussion libp2p#3508 (comment)
  • Loading branch information
mxinden committed Mar 29, 2023
1 parent 4897b2e commit cdbae2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@
- Introduce `libp2p::allow_block_list` module and deprecate `libp2p::Swarm::ban_peer_id`.
See [PR 3590].

- Introduce `libp2p::perf` module.
See [PR XXX].

[PR 3386]: https://github.com/libp2p/rust-libp2p/pull/3386
[PR 3580]: https://github.com/libp2p/rust-libp2p/pull/3580
[PR 3590]: https://github.com/libp2p/rust-libp2p/pull/3590
[PR XXX]: https://github.com/libp2p/rust-libp2p/pull/XXX

# 0.51.1

Expand Down
3 changes: 3 additions & 0 deletions libp2p/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ pub use libp2p_mplex as mplex;
#[cfg(feature = "noise")]
#[doc(inline)]
pub use libp2p_noise as noise;
#[cfg(feature = "perf")]
#[doc(inline)]
pub use libp2p_perf as perf;
#[cfg(feature = "ping")]
#[doc(inline)]
pub use libp2p_ping as ping;
Expand Down

0 comments on commit cdbae2c

Please sign in to comment.