@@ -87,6 +87,7 @@ impl BuildHasher for FixedState {
87
87
/// speed keyed hashing algorithm intended for use in in-memory hashmaps.
88
88
///
89
89
/// aHash is designed for performance and is NOT cryptographically secure.
90
+ #[ deprecated( note = "Will be required to use the hash library of your choice." ) ]
90
91
pub type HashMap < K , V > = hashbrown:: HashMap < K , V , BuildHasherDefault < AHasher > > ;
91
92
92
93
/// A stable hash map implementing aHash, a high speed keyed hashing algorithm
@@ -96,12 +97,14 @@ pub type HashMap<K, V> = hashbrown::HashMap<K, V, BuildHasherDefault<AHasher>>;
96
97
/// of insertions and deletions and not a random source.
97
98
///
98
99
/// aHash is designed for performance and is NOT cryptographically secure.
100
+ #[ deprecated( note = "Will be required to use the hash library of your choice." ) ]
99
101
pub type StableHashMap < K , V > = hashbrown:: HashMap < K , V , FixedState > ;
100
102
101
103
/// A [`HashSet`][hashbrown::HashSet] implementing aHash, a high
102
104
/// speed keyed hashing algorithm intended for use in in-memory hashmaps.
103
105
///
104
106
/// aHash is designed for performance and is NOT cryptographically secure.
107
+ #[ deprecated( note = "Will be required to use the hash library of your choice." ) ]
105
108
pub type HashSet < K > = hashbrown:: HashSet < K , BuildHasherDefault < AHasher > > ;
106
109
107
110
/// A stable hash set implementing aHash, a high speed keyed hashing algorithm
@@ -111,6 +114,7 @@ pub type HashSet<K> = hashbrown::HashSet<K, BuildHasherDefault<AHasher>>;
111
114
/// of insertions and deletions and not a random source.
112
115
///
113
116
/// aHash is designed for performance and is NOT cryptographically secure.
117
+ #[ deprecated( note = "Will be required to use the hash library of your choice." ) ]
114
118
pub type StableHashSet < K > = hashbrown:: HashSet < K , FixedState > ;
115
119
116
120
/// A pre-hashed value of a specific type. Pre-hashing enables memoization of hashes that are expensive to compute.
0 commit comments