Skip to content

Conversation

Byron
Copy link
Member

@Byron Byron commented Oct 15, 2025

For the original, see #2213.
It wasn't allowed to push into the existing branch.

lorenzleutgeb and others added 3 commits October 15, 2025 08:56
Instead of providing a non-additive feature `no_sha1` in the future,
if ever dependents want to build, say, a SHA-256 version only,
anticipate this today by requiring the feature `sha1`. For now,
since this crate is useless without support for SHA-1, omitting
the feature `sha1` results in a compile error. But in the future,
this error could be removed.

Dependents that have `default-features = false` will see breakage,
and they will have to adjust to

    default-features = false
    features = ["sha1"]

to recover.
This will allow adding other variants, such as for SHA-256, without
breaking dependents.
@Byron Byron mentioned this pull request Oct 15, 2025
@Byron Byron enabled auto-merge October 15, 2025 07:06
@Byron Byron merged commit feccdf8 into main Oct 15, 2025
29 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