mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 10:01:25 +00:00
chore(swarm): Remove deprecated functions (#3170)
Remove functions deprecated in 0.41.0.
This commit is contained in:
@ -121,8 +121,8 @@
|
||||
//! libp2p_gossipsub::Gossipsub::new(message_authenticity, gossipsub_config).unwrap();
|
||||
//! // subscribe to the topic
|
||||
//! gossipsub.subscribe(&topic);
|
||||
//! // create the swarm
|
||||
//! libp2p_swarm::Swarm::new(
|
||||
//! // create the swarm (use an executor in a real example)
|
||||
//! libp2p_swarm::Swarm::without_executor(
|
||||
//! transport,
|
||||
//! gossipsub,
|
||||
//! local_peer_id,
|
||||
|
Reference in New Issue
Block a user