File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 32
32
with :
33
33
command : test
34
34
args : --no-default-features --features compile-time-rng
35
+ - name : check fixed-seed
36
+ uses : actions-rs/cargo@v1
37
+ with :
38
+ command : check
39
+ args : --no-default-features --features std
35
40
- name : check
36
41
uses : actions-rs/cargo@v1
37
42
with :
Original file line number Diff line number Diff line change 10
10
//! aHash is not a cryptographically secure hash.
11
11
//!
12
12
#![ cfg_attr(
13
- any ( feature = "compile-time-rng" , feature = "runtime-rng" ) ,
13
+ feature = "std" ,
14
14
doc = r##"
15
15
# Example
16
16
```
Original file line number Diff line number Diff line change @@ -212,7 +212,6 @@ impl fmt::Debug for RandomState {
212
212
impl RandomState {
213
213
/// Use randomly generated keys
214
214
#[ inline]
215
- #[ cfg( any( feature = "compile-time-rng" , feature = "runtime-rng" ) ) ]
216
215
pub fn new ( ) -> RandomState {
217
216
let src = get_src ( ) ;
218
217
let fixed = get_fixed_seeds ( ) ;
@@ -296,7 +295,6 @@ impl RandomState {
296
295
}
297
296
}
298
297
299
- #[ cfg( any( feature = "compile-time-rng" , feature = "runtime-rng" ) ) ]
300
298
impl Default for RandomState {
301
299
#[ inline]
302
300
fn default ( ) -> Self {
@@ -313,7 +311,7 @@ impl BuildHasher for RandomState {
313
311
/// will generate the same hashes for the same input data.
314
312
///
315
313
#[ cfg_attr(
316
- any ( feature = "compile-time-rng" , feature = "runtime-rng" ) ,
314
+ feature = "std" ,
317
315
doc = r##" # Examples
318
316
```
319
317
use ahash::{AHasher, RandomState};
You can’t perform that action at this time.
0 commit comments