mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-11 10:27:15 +00:00
12 lines
179 B
Rust
12 lines
179 B
Rust
|
use libp2p_ping as ping;
|
||
|
|
||
|
#[derive(libp2p_swarm::NetworkBehaviour)]
|
||
|
#[behaviour(prelude = libp2p_swarm::derive_prelude)]
|
||
|
struct Foo {
|
||
|
ping: ping::Behaviour,
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
|
||
|
}
|