mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 09:41:34 +00:00
fix(libp2p): export perf protocol
As we do with all other protocols, make sure to expose `libp2p-perf` as well. Related: https://github.com/libp2p/rust-libp2p/pull/3508#discussion_r1125546920. Pull-Request: #3693.
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -88,6 +88,11 @@ pub use libp2p_mplex as mplex;
|
||||
#[cfg(feature = "noise")]
|
||||
#[doc(inline)]
|
||||
pub use libp2p_noise as noise;
|
||||
#[cfg(feature = "perf")]
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "perf")))]
|
||||
#[doc(inline)]
|
||||
pub use libp2p_perf as perf;
|
||||
#[cfg(feature = "ping")]
|
||||
#[doc(inline)]
|
||||
pub use libp2p_ping as ping;
|
||||
|
Reference in New Issue
Block a user