*: Remove default features from all crates
Description
This patch-set removes our use of default features. We also introduce a new full feature that activates all features.
Links to any relevant issues
- https://github.com/libp2p/rust-libp2p/pull/2173
- https://github.com/libp2p/rust-libp2p/pull/2146
Open Questions
Change checklist
- [x] I have performed a self-review of my own code
- [ ] ~I have made corresponding changes to the documentation~
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] A changelog entry has been made in the appropriate crates
Given that this is a large breaking change for users, is there anyone objecting to this change?
Is it that large a change? Activate a couple of feature flags and your back in. No functionality is changing!
Given that this is a large breaking change for users, is there anyone objecting to this change?
Is it that large a change? Activate a couple of feature flags and your back in. No functionality is changing!
I remember tokio moving to this convention taking me a couple of h. I am not saying it is hard. Just saying it is tedious. Never the less I am in favor of this change.
@thomaseizinger do you want this to be included in v0.49.0 (https://github.com/libp2p/rust-libp2p/pull/2931)?
Given that this is a large breaking change for users, is there anyone objecting to this change?
Is it that large a change? Activate a couple of feature flags and your back in. No functionality is changing!
I remember
tokiomoving to this convention taking me a couple of h. I am not saying it is hard. Just saying it is tedious. Never the less I am in favor of this change.@thomaseizinger do you want this to be included in
v0.49.0(#2931)?
That would be great, yeah!
I would be great to have a short section "How to upgrade" for the release, so folks now how to adjust their feature usage.
I would be great to have a short section "How to upgrade" for the release, so folks now how to adjust their
featureusage.
Is the first sentence in the changelog entry not good enough? https://github.com/libp2p/rust-libp2p/blob/2173-no-default-features/CHANGELOG.md#0490---unreleased
Is the first sentence in the changelog entry not good enough?
I somehow missed that when looking through the diff. LGTM 👍
@thomaseizinger would you mind resolving the merge conflicts here? No rush, just a ping.
@thomaseizinger would you mind resolving the merge conflicts here? No rush, just a ping.
Sure! I just didn't realize there are any :/ I opened https://github.com/libp2p/rust-libp2p/issues/2948.
@mxinden Resolved.
Wooooo! This is so exciting!
As long as #2950 is still open, this could result in a very confusing experience for a beginner. We should definitely fix that.