Skip to content

Minimize faer features for strided einsum#143

Merged
shinaoka merged 1 commit into
mainfrom
codex/faer-minimal-features
Jul 17, 2026
Merged

Minimize faer features for strided einsum#143
shinaoka merged 1 commit into
mainfrom
codex/faer-minimal-features

Conversation

@shinaoka

Copy link
Copy Markdown
Member

Summary

  • disable faer's broad default feature set at the strided-rs workspace boundary
  • retain only the std and rayon features required by strided-einsum2
  • add a dependency contract test preventing npy, sparse, and rand features from returning

This is the upstream dependency fix required by tensor4all/tenferro-rs#1397. strided-einsum2 remains the owner of strided dot-general execution; the change only narrows its provider dependency.

Verification

  • cargo test --workspace
  • cargo test -p strided-einsum2 --no-default-features --features faer,parallel --no-run
  • cargo fmt --all --check
  • cargo tree -p strided-einsum2 contains no npyz, py_literal, pest, sparse, or faer rand dependencies

@shinaoka
shinaoka marked this pull request as ready for review July 17, 2026 06:42
@shinaoka
shinaoka merged commit 10fc972 into main Jul 17, 2026
5 checks passed
@shinaoka
shinaoka deleted the codex/faer-minimal-features branch July 17, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant