Skip to content

Commit

Permalink
More feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Sep 3, 2023
1 parent c6d580c commit e497cb2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libp2p/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ use crate::bandwidth::BandwidthSinks;
use crate::TransportExt;
use map::Map as MapUpgrade;

#[cfg(not(target_arch = "wasm32"))]
#[cfg(all(
not(target_arch = "wasm32"),
feature = "tls",
feature = "noise",
any(feature = "tcp", feature = "relay", feature = "websocket")
))]
mod map;

/// Build a [`Swarm`] by combining an identity, a set of [`Transport`]s and a [`NetworkBehaviour`].
Expand Down

0 comments on commit e497cb2

Please sign in to comment.