File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ fastrand = "2.1.1"
23
23
once_cell = { version = " 1.19.0" , default-features = false , features = [" std" ] }
24
24
25
25
[target .'cfg(any(unix, windows, target_os = "wasi"))' .dependencies ]
26
- getrandom = { version = " 0.2.15 " , default-features = false , optional = true }
26
+ getrandom = { version = " 0.3.0 " , default-features = false , optional = true }
27
27
28
28
[target .'cfg(any(unix, target_os = "wasi"))' .dependencies ]
29
29
rustix = { version = " 0.38.39" , features = [" fs" ] }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub fn create_helper<R>(
47
47
) ) ]
48
48
if i == 3 {
49
49
let mut seed = [ 0u8 ; 8 ] ;
50
- if getrandom:: getrandom ( & mut seed) . is_ok ( ) {
50
+ if getrandom:: fill ( & mut seed) . is_ok ( ) {
51
51
fastrand:: seed ( u64:: from_ne_bytes ( seed) ) ;
52
52
}
53
53
}
You can’t perform that action at this time.
0 commit comments