Make all features explicit (#1251)
* Make all features explicit * Remove default feature and add missing newline to cargo.toml * Fix compilation for --feature libp2p-websocket Signed-off-by: pscott <scottpiriou@gmail.com> * Remove 'with-arbitrary'
This commit is contained in:
parent
065251b701
commit
06a72614cb
@ -51,3 +51,6 @@ slog-term = "2.5.0"
|
|||||||
slog-async = "2.5.0"
|
slog-async = "2.5.0"
|
||||||
tempdir = "0.3.7"
|
tempdir = "0.3.7"
|
||||||
exit-future = "0.2.0"
|
exit-future = "0.2.0"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
libp2p-websocket = []
|
||||||
|
@ -379,7 +379,7 @@ fn build_transport(
|
|||||||
#[cfg(feature = "libp2p-websocket")]
|
#[cfg(feature = "libp2p-websocket")]
|
||||||
let transport = {
|
let transport = {
|
||||||
let trans_clone = transport.clone();
|
let trans_clone = transport.clone();
|
||||||
transport.or_transport(websocket::WsConfig::new(trans_clone))
|
transport.or_transport(libp2p::websocket::WsConfig::new(trans_clone))
|
||||||
};
|
};
|
||||||
// Authentication
|
// Authentication
|
||||||
let transport = transport
|
let transport = transport
|
||||||
|
@ -46,3 +46,6 @@ assert_matches = "1.3.0"
|
|||||||
remote_beacon_node = { path = "../../common/remote_beacon_node" }
|
remote_beacon_node = { path = "../../common/remote_beacon_node" }
|
||||||
node_test_rig = { path = "../../testing/node_test_rig" }
|
node_test_rig = { path = "../../testing/node_test_rig" }
|
||||||
tree_hash = "0.1.0"
|
tree_hash = "0.1.0"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
fake_crypto = []
|
||||||
|
Loading…
Reference in New Issue
Block a user