mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-26 00:01:33 +00:00
Address edition-2018 idioms. (#929)
This commit is contained in:
committed by
Pierre Krieger
parent
21810e46bd
commit
eeed66707b
@ -30,23 +30,6 @@
|
||||
//! struct will automatically discover other libp2p nodes on the local network.
|
||||
//!
|
||||
|
||||
extern crate data_encoding;
|
||||
extern crate dns_parser;
|
||||
extern crate futures;
|
||||
extern crate libp2p_core;
|
||||
extern crate multiaddr;
|
||||
extern crate net2;
|
||||
extern crate rand;
|
||||
extern crate smallvec;
|
||||
extern crate tokio_io;
|
||||
extern crate tokio_reactor;
|
||||
extern crate tokio_timer;
|
||||
extern crate tokio_udp;
|
||||
extern crate void;
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate tokio;
|
||||
|
||||
/// Hardcoded name of the mDNS service. Part of the mDNS libp2p specifications.
|
||||
const SERVICE_NAME: &[u8] = b"_p2p._udp.local";
|
||||
/// Hardcoded name of the service used for DNS-SD.
|
||||
|
Reference in New Issue
Block a user