Skip to content

Make EigenSNP optional#222

Merged
SauersML merged 1 commit intoSauersML:mainfrom
Palladinium:eigensnp-optional-feature
Oct 29, 2025
Merged

Make EigenSNP optional#222
SauersML merged 1 commit intoSauersML:mainfrom
Palladinium:eigensnp-optional-feature

Conversation

@Palladinium
Copy link
Contributor

@Palladinium Palladinium commented Oct 21, 2025

This crate currently requires nightly Rust due to its use of the portable_simd feature. From reading the code, it looks like it's only used as part of the EigenSNP implementation, and not in any of the basic PCA code.

I don't use the EigenSNP feature, and I'd like to be able to use this crate on stable Rust.

This PR moves both the EigenSNP implementation and the required portable_simd feature gate behind an optional cargo feature. It also updates the README to make it clear that EigenSNP requires nightly Rust.

@SauersML
Copy link
Owner

Great! Thank you for this.

@SauersML SauersML merged commit 0ae16f1 into SauersML:main Oct 29, 2025
7 of 8 checks passed
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.

2 participants