Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion swarm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ async-std = ["dep:async-std"]
wasm-bindgen = ["dep:wasm-bindgen-futures", "dep:getrandom"]

[dev-dependencies]
async-std = { version = "1.6.2", features = ["attributes"] }
Comment thread
elenaf9 marked this conversation as resolved.
either = "1.11.0"
futures = { workspace = true }
libp2p-identify = { path = "../protocols/identify" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing.
Expand Down
2 changes: 1 addition & 1 deletion swarm/tests/connection_close.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use libp2p_swarm::{
};
use libp2p_swarm_test::SwarmExt;

#[async_std::test]
#[tokio::test]
async fn sends_remaining_events_to_behaviour_on_connection_close() {
let mut swarm1 = Swarm::new_ephemeral(|_| Behaviour::new(3));
Comment thread
elenaf9 marked this conversation as resolved.
Outdated
let mut swarm2 = Swarm::new_ephemeral(|_| Behaviour::new(3));
Expand Down
2 changes: 1 addition & 1 deletion swarm/tests/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use libp2p_swarm::{
};
use libp2p_swarm_test::SwarmExt;

#[async_std::test]
#[tokio::test]
async fn behaviour_listener() {
let mut swarm = Swarm::new_ephemeral(|_| Behaviour::default());
let addr: Multiaddr = Protocol::Memory(0).into();
Expand Down