magmaman2546 opened a new issue, #3684:
URL: https://github.com/apache/iceberg-rust/issues/3684

   `iceberg-datafusion` depends on `datafusion` with its default features. 
Those include `compression`, which brings in `liblzma-sys` (C liblzma, built 
via `bindgen`), `bzip2` and `flate2`, as well as `crypto_expressions`, 
`unicode_expressions`, `recursive_protection` and others. A downstream crate 
that sets `datafusion = { default-features = false }` to keep its build lean 
gets all of them back anyway, because Cargo unions features across the graph.
   
   Could the dependency be declared with `default-features = false`, enabling 
only the features the crate actually uses? Optional extras could become crate 
features that forward to DataFusion's (for example a `compression` feature 
forwarding to `datafusion/compression`), so anyone who wants them still gets 
them with one line.
   
   This mainly affects downstream projects that try to avoid C build 
dependencies or keep compile times down. Happy to send a PR if you're open to 
it.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to