-
Notifications
You must be signed in to change notification settings - Fork 622
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
Pass through rayon feature to ravif #2348
Conversation
Looks like we need an MSRV bump to 1.70.0 as well. |
Done |
Oh, hm. Apparently ravif bumped its MSRV to 1.79 in its 0.11.7 release which came out only three days after rust 1.79 did... |
Unfortunately we have to bump all the way to 1.79 because |
I'm not really fond of the idea of bumping the whole crate to 1.79, which is quite recent, when that requirement only arises due to a transitive dependency of rav1e. There are perfectly good ways to use the crate without avif encoding on older compilers. I'm bumping the requirement to 1.79 in this PR, but I'm also happy to exclude AVIF encoding from the MSRV and keep the |
Or we could just require |
Hmm, on 1.79.0 CI fails due to a change in the compiler that broke compilation of We can work around this with a |
I'm strongly not a fan of bumping rust-version purely due to optional dependencies, either. Any tool that has an understanding of it should get notified by a (correct) rust-version requirement precisely when the crate is actually depended on. So should the chosen rust version in CI depend on the matrix of selected features? |
Regarding num-bigint/minimal versions, I think it'd be fine to swap to |
Using As far as the broader PR, I don't think there are any good options here. If we do a version bump of One possible path forward would be:
|
I've checked, and the very latest This will let us ship proper Rayon controls for it, and avoid hacks like pinning a specific version of it. |
I like your plan @fintelia, as a I first step we can do |
|
I understand the latest
ravif
has feature-gated rayon, so we need to pass through the feature to re-enable it by default again.