Skip to content

Added Rust 1.86.0 and 2024 edition support#138

Closed
kamikaze wants to merge 1 commit intotrifectatechfoundation:masterfrom
bixority:feature/rust-2024-edition
Closed

Added Rust 1.86.0 and 2024 edition support#138
kamikaze wants to merge 1 commit intotrifectatechfoundation:masterfrom
bixority:feature/rust-2024-edition

Conversation

@kamikaze
Copy link

@kamikaze kamikaze commented Apr 9, 2025

Hi. I would like to get a code review from you :) Also maybe someday this change will be handy :)

@folkertdev
Copy link
Member

Sorry, but we very deliberately support older versions of rust. That means the code looks ancient and weird, but it's the price we pay for keeping older systems working. Also especially for bzip2-sys, we cannot make breaking api changes.

@folkertdev folkertdev closed this Apr 9, 2025
name = "bzip2-sys"
version = "0.1.13+1.0.8"
version = "0.2.0"
edition = "2024"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from what @folkertdev said, for bzip2-sys specifically: There can be only a single version of the bzip2-sys crate inside a cargo workspace. As such a semver incompatible bump has a huge cost for all users of bzip2-rs. I think any benefit of using the 2024 edition is significantly lower than the cost.

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.

3 participants