Skip to content
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

[0.1] Disable rustc-serialize derives for future compilers #441

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jan 25, 2025

The built-in derives are being removed, but crater showed problems
with crates depending on num v0.1, where this feature is enabled by
default. With this PR, we detect the missing built-ins and disable the
derives, adding a build-script warning about it. Cargo won't show such
warnings by default from non-path dependencies, unless the build fails.

For num itself, this mostly just amounts to a dependency bump.

The built-in derives are being [removed], but crater showed problems
with crates depending on `num v0.1`, where this feature is enabled by
default. With this PR, we detect the missing built-ins and disable the
derives, adding a build-script warning about it. Cargo won't show such
warnings by default from non-path dependencies, unless the build fails.

For `num` itself, this mostly just amounts to a dependency bump.

[removed]: rust-lang/rust#134272
@cuviper cuviper merged commit 262a458 into rust-num:num-0.1.x Jan 25, 2025
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