-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Since #36815, a #![no_std]
crate that uses core::hash::SipHasher
gets a deprecation warning that says "use DefaultHasher
instead". But DefaultHasher
is in std::collections::hash_map
and not available in libcore.
All the Sip code is still in libcore, but there is no public non-deprecated API to use it or any other hasher.
Should DefaultHasher
be moved to core::hash
? (std::collections::hash_map
would have a pub use
re-export.)
donhcd, ariesdevil and FeldrinH
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.