diff --git a/Cargo.lock b/Cargo.lock index 0fc30c32dba..b5d40c27b28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1717,6 +1717,15 @@ dependencies = [ "smallvec 1.8.0", ] +[[package]] +name = "fastrand" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" +dependencies = [ + "instant", +] + [[package]] name = "fixedbitset" version = "0.1.9" @@ -6510,14 +6519,14 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.1.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" +checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", + "fastrand", "libc", - "rand 0.7.3", - "redox_syscall 0.1.56", + "redox_syscall 0.2.13", "remove_dir_all", "winapi", ] diff --git a/servo-tidy.toml b/servo-tidy.toml index 7b4a1d9bf0c..e5bfa190964 100644 --- a/servo-tidy.toml +++ b/servo-tidy.toml @@ -20,7 +20,6 @@ rand = [ "phf_generator", "quickcheck", # Only used in tests "servo_rand", - "tempfile", "tungstenite", "ws", ]