Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protocols/identify: fix dev dependencies required for examples/identify #2737

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

elenaf9
Copy link
Contributor

@elenaf9 elenaf9 commented Jun 28, 2022

Description

Fix the identify dev dependencies required for the example added in #2689.
Without them it currently does not compile. I only noticed it because I tried to run the identify tests from within the protocols/identify folder. Not sure why our CI didn't complain. Maybe it's because we test the workspace instead of each package directly? @mxinden @thomaseizinger.

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@mxinden
Copy link
Member

mxinden commented Jun 29, 2022

Not sure why our CI didn't complain. Maybe it's because we test the workspace instead of each package directly?

That is my intuition as well. E.g. the below on the root does not fail:

cargo check --examples --workspace --no-default-features

Not sure how we could catch this in CI without executing cargo check on each individual crate.

@mxinden mxinden merged commit 423adca into libp2p:master Jun 29, 2022
@elenaf9 elenaf9 deleted the identify/fix-dev-deps branch July 24, 2022 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants