Skip to content

Examples namings. #3609

Closed Answered by thomaseizinger
uwejan asked this question in Q&A
Mar 13, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Thanks for reporting!

We have recently moved all examples to make things more consistent, see #3111.

All our examples are dedicated crates to also highlight which dependencies are needed. You should be able to cd into any of these directories and do cargo run: https://github.com/libp2p/rust-libp2p/tree/master/examples

The rustdoc on top of the main function on all of them also some some more documentation.

Now following tutorial from docs, does not use the same naming for examples. docs.rs/libp2p/latest/libp2p/tutorials/hole_punching/index.html

This might still be outdated from the move :(
PRs to fix it are appreciated!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@uwejan
Comment options

@uwejan
Comment options

@thomaseizinger
Comment options

@uwejan
Comment options

Answer selected by uwejan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants