Examples namings. #3609
-
Hello there, Just cloned the repo, and am trying to run the examples.
Is it supposed to reflect on the directory Now following tutorial from docs, does not use the same naming for examples.
protocoles directory, has also examples. This somehow causing confusion where example are pulled from. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
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 The rustdoc on top of the
This might still be outdated from the move :( |
Beta Was this translation helpful? Give feedback.
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 docargo run
: https://github.com/libp2p/rust-libp2p/tree/master/examplesThe rustdoc on top of the
main
function on all of them also some some more documentation.This might still be outdated from the move :(
PRs to fix it are appreciated!