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

build(vm): remove unused implicit features #1266

Merged

Conversation

tdelabro
Copy link
Contributor

Description

As stated in the rust doc
In some cases, you may not want to expose a feature that has the same name as the optional dependency. For example, perhaps the optional dependency is an internal detail, or you want to group multiple optional dependencies together, or you just want to use a better name. If you specify the optional dependency with the dep: prefix anywhere in the [features] table, that disables the implicit feature.

This makes sure no implicit features are created for the optional crates that are imported only to be used in another feature.

@codecov
Copy link

codecov bot commented Jun 20, 2023

Codecov Report

Merging #1266 (fa61edc) into main (60f5946) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1266   +/-   ##
=======================================
  Coverage   97.60%   97.60%           
=======================================
  Files          89       89           
  Lines       36335    36335           
=======================================
  Hits        35466    35466           
  Misses        869      869           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@tdelabro tdelabro force-pushed the fix-useless-cairo-vm-features branch from d3dc1b8 to dc8e77e Compare June 20, 2023 11:03
@fmoletta fmoletta enabled auto-merge June 23, 2023 14:43
@juanbono juanbono disabled auto-merge June 23, 2023 15:46
@tdelabro tdelabro force-pushed the fix-useless-cairo-vm-features branch from dc8e77e to fa61edc Compare June 24, 2023 09:59
@tdelabro
Copy link
Contributor Author

@juanbono @fmoletta I solved the conflicts. Ready to be merged

@MegaRedHand MegaRedHand added this pull request to the merge queue Jun 24, 2023
Merged via the queue into lambdaclass:main with commit 9cef244 Jun 24, 2023
@tdelabro tdelabro deleted the fix-useless-cairo-vm-features branch June 24, 2023 22:11
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.

3 participants