-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Trying cargo machete to prune unused deps. #17545
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
Conversation
3ea9fd5 to
0977b19
Compare
|
Looks like the experiment was a success ❤️ |
alamb
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.
Looks great to me -- thank you @samueleresca
|
Anything else you think we should do with this PR @samueleresca ? I marked it ready for review as it looked great |
datafusion/datasource/Cargo.toml
Outdated
|
|
||
| [features] | ||
| parquet = ["dep:parquet", "tempfile"] | ||
| parquet = ["tempfile"] |
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.
I guess remove parquet feature from here as well?
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.
Proceeding by removing the parquet feature. Reasoning:
tempfileis already included as part of the dependencies.- There isn't any conditional code linked to the
parquetfeatures.
Thanks
cb4653b to
738cbd4
Compare
738cbd4 to
eef8a3b
Compare
Jefffrey
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.
Nice cleanup
Thanks 😄 I think we can proceed with this PR. I might open another PR for including cargo machete checks in CI. Full discussion in: #17550 |
Thanks @samueleresca |
Very much a test with
cargo macheteto understand all the false positives detected by the tooling.