File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " awak"
3- version = " 0.2.36 "
3+ version = " 0.2.37 "
44authors = [" cssivision <cssivision@gmail.com>" ]
55license = " MIT"
66repository = " https://github.com/cssivision/awak"
@@ -10,10 +10,10 @@ edition = "2018"
1010
1111[dependencies ]
1212async-task = " 4.0"
13- rand = " 0.8 "
13+ rand = " 0.9 "
1414libc = " 0.2"
1515slab = " 0.4"
16- socket2 = { version = " 0.5 " , features = [" all" ] }
16+ socket2 = { version = " 0.6 " , features = [" all" ] }
1717cfg-if = " 1"
1818pin-project-lite = " 0.2"
1919futures-io = " 0.3"
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ impl Ticker {
301301
302302 // Pick a random starting point in the iterator list and rotate the list.
303303 let n = local_queues. iter ( ) . count ( ) ;
304- let start = rand:: thread_rng ( ) . gen_range ( 0 ..n) ;
304+ let start = rand:: rng ( ) . random_range ( 0 ..n) ;
305305 let iter = local_queues
306306 . iter ( )
307307 . chain ( local_queues. iter ( ) )
You can’t perform that action at this time.
0 commit comments