Skip to content

Conversation

@valkum
Copy link

@valkum valkum commented Oct 16, 2025

Motivation

See #240 for more details.
TL;DR: lance-namespace depends on lance with default features, which pulls in a lot of aws-* crates that are not needed for lance-namespace.
lance-namespace also enabled ring for reqwest and some aws-crates could enable aws-lc-rs, requiring users to set a default provider for rustls in their binaries.

Solution

This resolves the issue of pulled in aws-* crates by removing default features from lance.

The rustls provider issue is fixed by allowing users of lance-namespace to select which feature is enabled for reqwest. The current default is preserved via the default feature.

Closes #240

This disables default feature from lance.
The current set of default features pulls in crates needed for cloud
support (aws-*, gcp) which are not technically needed for
lance-namespace.
This had `rustls-tls-native-roots` hardcoded for reqwest. Users of aws-*
crates might want to use `rustls-tls-native-roots-no-provider` instead,
as that uses aws-lc-rs over ring.
@github-actions github-actions bot added the rust Rust features label Oct 16, 2025
@github-actions
Copy link
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@valkum valkum changed the title Relax enabled features on lance feat: relax enabled features on lance Oct 16, 2025
@github-actions github-actions bot added the enhancement New feature or request label Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request rust Rust features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not depend on the lance default features

1 participant