findepi commented on PR #6804:
URL: https://github.com/apache/arrow-rs/pull/6804#issuecomment-2511150149

   I changed the approach. Instead of enabling lint in the cargo.toml, i 
switched to enaling it on specific cargo invocations as part of CI. Why? 
Because it feels cargo lacks necessary information to make this check work well 
in all cases. It apparently does not distinguishes dependencies when compiling 
tests and examples, or tests with different feature flags. I couldn't find a 
way to make it work, without adding a lot of suppressions (`#allow` or fake 
imports). Moreover, being very strict about dev/test dependencies isn't 
probably useful, as it doesn't benefit Arrow's users in any way.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to