Skip to content

chore: reduce scope of feature flags and compilation requirements for subcrates #3409

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

Merged
merged 1 commit into from
May 3, 2025

Conversation

rtyler
Copy link
Member

@rtyler rtyler commented May 3, 2025

No description provided.

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label May 3, 2025
The object_store crate does not require its cloud feature in order to
use RetryConfig, so most of the subcrates can shed a cloud and
datafusion feature.

Cleaning this up allows for avoiding the ObjectStoreFactory trait's
ambiguous implementation which can cause problem if a subcrate is
implemented using the "non-cloud" arm but then is included in a
dependency tree where the "cloud" feature is enabled by another
dependency. This was sort of only theoretically possible but did
manifest during `cargo publish` operations.

Additionally the removal of a datafusion feature when it iis not
necessary results in ~100 fewer crates at compile and link time for
those (hi!) working within subcrates

Signed-off-by: R. Tyler Croy <[email protected]>
@rtyler rtyler force-pushed the 26.1-addl-improvements branch from 0ea2d20 to 91b7c51 Compare May 3, 2025 18:53
Copy link

codecov bot commented May 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.00%. Comparing base (b30c2ed) to head (91b7c51).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3409      +/-   ##
==========================================
- Coverage   72.01%   72.00%   -0.01%     
==========================================
  Files         148      148              
  Lines       46082    46081       -1     
  Branches    46082    46081       -1     
==========================================
- Hits        33184    33181       -3     
- Misses      10791    10792       +1     
- Partials     2107     2108       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rtyler rtyler marked this pull request as ready for review May 3, 2025 19:13
@rtyler rtyler enabled auto-merge May 3, 2025 19:13
@rtyler rtyler added this pull request to the merge queue May 3, 2025
Merged via the queue into delta-io:main with commit e47bba5 May 3, 2025
26 checks passed
@rtyler rtyler deleted the 26.1-addl-improvements branch May 3, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants