src/tutorials: Add hole punching tutorial (#2460)

This commit is contained in:
Max Inden
2022-02-10 16:36:20 +01:00
committed by GitHub
parent b39770b8e9
commit 861e15dabb
5 changed files with 155 additions and 4 deletions

View File

@ -24,11 +24,10 @@
//! [libp2p.io](https://libp2p.io/).
//!
//! To get started with this libp2p implementation in Rust, please take a look
//! at the [`tutorial`](crate::tutorial). Further examples can be found in the
//! at the [`tutorials`](crate::tutorials). Further examples can be found in the
//! [examples] directory.
//!
//! [examples]: https://github.com/libp2p/rust-libp2p/tree/master/examples
//! [ping tutorial]: https://github.com/libp2p/rust-libp2p/tree/master/examples/ping.rs
#![doc(html_logo_url = "https://libp2p.io/img/logo_small.png")]
#![doc(html_favicon_url = "https://libp2p.io/img/favicon.png")]
@ -151,7 +150,7 @@ pub mod bandwidth;
pub mod simple;
#[cfg(doc)]
pub mod tutorial;
pub mod tutorials;
pub use self::core::{
identity,