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.)
CC @alexcrichton, @sfackler
Since #36815, a
#![no_std]crate that usescore::hash::SipHashergets a deprecation warning that says "useDefaultHasherinstead". ButDefaultHasheris instd::collections::hash_mapand 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
DefaultHasherbe moved tocore::hash? (std::collections::hash_mapwould have apub usere-export.)CC @alexcrichton, @sfackler