File tree 1 file changed +15
-4
lines changed
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ mod int_overflow;
6
6
mod sip128;
7
7
mod stable_hasher;
8
8
9
+ /// Hashers collection
10
+ pub mod hashers {
11
+ #[ doc( inline) ]
12
+ pub use super :: sip128:: SipHasher128 ;
13
+
14
+ /// Stable 128-bits Sip Hasher
15
+ ///
16
+ /// [`StableHasher`] version of [`SipHasher128`].
17
+ ///
18
+ /// [`StableHasher`]: super::StableHasher
19
+ pub type StableSipHasher128 = super :: StableHasher < SipHasher128 > ;
20
+ }
21
+
9
22
#[ doc( inline) ]
10
23
pub use stable_hasher:: StableHasher ;
11
24
@@ -15,7 +28,5 @@ pub use stable_hasher::StableHasherResult;
15
28
#[ doc( inline) ]
16
29
pub use stable_hasher:: ExtendedHasher ;
17
30
18
- pub use sip128:: SipHasher128 ; // TODO: Should SipHasher128 be exposed?
19
-
20
- /// Stable Sip Hasher 128
21
- pub type StableSipHasher128 = StableHasher < SipHasher128 > ;
31
+ #[ doc( inline) ]
32
+ pub use hashers:: StableSipHasher128 ;
You can’t perform that action at this time.
0 commit comments