[build] Update dependencies
- Update crc32c to 0.6, which allows it to be built on AArch64. - Update base64 to 0.13 - Update byteorder to 0.14 - Update io-uring to 0.4 - Update libc to 0.2.83 - Update nix to 0.19 - Update nom to 6.0.1 - Update quick-xml to 0.20 - Update rand to 0.8 - Update tempfile to 3.2 - Update tui to 0.14 Signed-off-by: Kay Lin <i@v2bv.net>
This commit is contained in:
@@ -15,7 +15,7 @@ pub struct TestDir {
|
||||
fn mk_dir(prefix: &str) -> Result<PathBuf> {
|
||||
for _n in 0..100 {
|
||||
let mut p = PathBuf::new();
|
||||
let nr = rand::thread_rng().gen_range(1000000, 9999999);
|
||||
let nr = rand::thread_rng().gen_range(1000000..9999999);
|
||||
p.push(format!("./{}_{}", prefix, nr));
|
||||
if let Ok(()) = fs::create_dir(&p) {
|
||||
return Ok(p);
|
||||
|
||||
Reference in New Issue
Block a user