-
Notifications
You must be signed in to change notification settings - Fork 40
build(deps): eliminate unnecessary dependencies #520
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
build(deps): eliminate unnecessary dependencies #520
Conversation
Makes the dependency tree somewhat explicit.
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #520 +/- ##
==========================================
- Coverage 78.89% 78.78% -0.11%
==========================================
Files 99 99
Lines 23146 23186 +40
Branches 23146 23186 +40
==========================================
+ Hits 18260 18268 +8
- Misses 2687 2719 +32
Partials 2199 2199
🚀 New features to boost your workflow:
|
Ensures warnings are addressed before merge.
AlexD10S
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup!
Everything looks good to me, I just left a couple of minor comments suggesting the addition of documentation comments for public modules. Good to go after that!
|
Docs require some love. As this PR is only about resolving the dependencies, my suggestion is to tackle the docs separately and holistically in a single PR. |
Eliminates unnecessary dependencies when building without default features. The number of dependencies when building with the
contractfeature only has been halved from ~1k to 500k. A handful were removed more generally by usingdefault-features = false.Also updates CI to ensure that builds with -
-no-default-featuresare successful and remain so. Whilst the tool is primarily aimed towards contract and parachain development, allowing successful builds with no default features allows the introduction and testing of additional experimental features which are not specific to these two developer journeys.[sc-3569]