Skip to content

Conversation

@P1R
Copy link
Contributor

@P1R P1R commented Aug 29, 2024

Description

Following on issue #4449
refactor: use tokio instead of async-std in the identify example and remove unnecesary dependencies

Notes & open questions

Change checklist

  • Removed unnecessary dependencies on examples/identify/Cargo.toml
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@dariusc93
Copy link
Member

dariusc93 commented Aug 30, 2024

Hey! Thanks for the PR. Could you merge this to #5580 so it would be in one pr?

EDIT: It looks like the other PR was merged in. We could try it in this PR to update the examples to tokio (if there are anymore left using async-std) so it is in one PR. Thoughts?

@P1R
Copy link
Contributor Author

P1R commented Sep 2, 2024

@dariusc93 this comes out of a previous discussion with @jxs here: #5571 (review)

@dariusc93
Copy link
Member

dariusc93 commented Sep 3, 2024

@dariusc93 this comes out of a previous discussion with @jxs here: #5571 (review)

Thanks! In that case it LGTM.

@dariusc93 dariusc93 changed the title refactor(examples): Identify refactor(examples): remove unused dependency from Identify Sep 3, 2024
@dariusc93 dariusc93 changed the title refactor(examples): remove unused dependency from Identify refactor(examples): use tokio instead of async-std in identify example Sep 3, 2024
@mergify mergify bot merged commit 5137e4e into libp2p:master Sep 3, 2024
TimTinkers pushed a commit to unattended-backpack/rust-libp2p that referenced this pull request Sep 14, 2024
libp2p#5579)

## Description

<!--
Please write a summary of your changes and why you made them.
This section will appear as the commit message after merging.
Please craft it accordingly.
For a quick primer on good commit messages, check out this blog post:
https://cbea.ms/git-commit/

Please include any relevant issues in here, for example:

Related https://github.com/libp2p/rust-libp2p/issues/ABCD.
Fixes https://github.com/libp2p/rust-libp2p/issues/XYZ.
-->
Following on issue libp2p#4449 
refactor: use tokio instead of async-std in the identify example and
remove unnecesary dependencies

## Notes & open questions

<!--
Any notes, remarks or open questions you have to make about the PR which
don't need to go into the final commit message.
-->

## Change checklist

* Removed unnecessary dependencies on examples/identify/Cargo.toml

<!-- Please add a Changelog entry in the appropriate crates and bump the
crate versions if needed. See
<https://github.com/libp2p/rust-libp2p/blob/master/docs/release.md#development-between-releases>-->

- [x] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] A changelog entry has been made in the appropriate crates

---------

Co-authored-by: David E. Perez Negron R. <[email protected]>
Co-authored-by: Darius Clark <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants