Skip to content

chore(deps): bump digest pin #185

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baloo
Copy link
Member

@baloo baloo commented May 9, 2025

digest doesn't provide std feature anymore

Depends;

@baloo baloo marked this pull request as draft May 9, 2025 04:51
@baloo baloo force-pushed the baloo/digest-pin branch 3 times, most recently from d3c9004 to 526c47d Compare May 10, 2025 16:16
}
}

impl<D: EagerHash> FixedOutputCore for HmacCore<D> {
impl<D: EagerHash> FixedOutput for Hmac<D> {
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not exactly happy with this change, I think this removes some amount of optimization as we can't access the inner FixedOutputCore

cc @newpavlov

Copy link
Member

Choose a reason for hiding this comment

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

It's why we have the CoreProxy trait. For the optimized implementation you should add bounds on D::Core and use it in the generic implementation. We may need to add a from_core method to it (which previously was an inherent method on CoreWrapper). I planned to do it a bit later.

Copy link
Member Author

Choose a reason for hiding this comment

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

I missed CoreProxy!

@baloo baloo force-pushed the baloo/digest-pin branch from 526c47d to bcfa344 Compare May 11, 2025 04:10
digest doesn't provide `std` feature anymore
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