From bbc351bb596d1f52ae7c224e28faa3fabd4588ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 19 Dec 2020 03:13:34 +0100 Subject: [PATCH] Update privdrop to 0.5 --- Cargo.lock | 17 +++++------------ aquatic_http/Cargo.toml | 2 +- aquatic_udp/Cargo.toml | 2 +- aquatic_ws/Cargo.toml | 2 +- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 44a37bf..c702c8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -977,15 +977,14 @@ dependencies = [ [[package]] name = "nix" -version = "0.16.1" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0eaf8df8bab402257e0a5c17a254e4cc1f72a93588a1ddfb5d356c801aa7cb" +checksum = "b2ccba0cfe4fdf15982d1674c69b1fd80bad427d293849982668dfe454bd61f2" dependencies = [ "bitflags", "cc", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "libc", - "void", ] [[package]] @@ -1157,9 +1156,9 @@ checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" [[package]] name = "privdrop" -version = "0.3.4" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "939fa7cbfef9c15c65cf2fb3ed57f3f2a14dca1757a556aa1ba4a7f998b2b479" +checksum = "ebd4c2739642e70439d1c0d9545beec45c1e54128739b3cda29bf2c366028c87" dependencies = [ "libc", "nix", @@ -1775,12 +1774,6 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - [[package]] name = "walkdir" version = "2.3.1" diff --git a/aquatic_http/Cargo.toml b/aquatic_http/Cargo.toml index 355a943..61aa20f 100644 --- a/aquatic_http/Cargo.toml +++ b/aquatic_http/Cargo.toml @@ -32,7 +32,7 @@ memchr = "2" mio = { version = "0.7", features = ["tcp", "os-poll", "os-util"] } native-tls = "0.2" parking_lot = "0.11" -privdrop = "0.3" +privdrop = "0.5" rand = { version = "0.7", features = ["small_rng"] } serde = { version = "1", features = ["derive"] } smartstring = "0.2" diff --git a/aquatic_udp/Cargo.toml b/aquatic_udp/Cargo.toml index ac8a2b0..cdffb60 100644 --- a/aquatic_udp/Cargo.toml +++ b/aquatic_udp/Cargo.toml @@ -27,7 +27,7 @@ log = "0.4" mimalloc = { version = "0.1", default-features = false } mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] } parking_lot = "0.11" -privdrop = "0.3" +privdrop = "0.5" rand = { version = "0.7", features = ["small_rng"] } serde = { version = "1", features = ["derive"] } socket2 = { version = "0.3", features = ["reuseport"] } diff --git a/aquatic_ws/Cargo.toml b/aquatic_ws/Cargo.toml index e1afa9d..5fd90ea 100644 --- a/aquatic_ws/Cargo.toml +++ b/aquatic_ws/Cargo.toml @@ -30,7 +30,7 @@ mimalloc = { version = "0.1", default-features = false } mio = { version = "0.7", features = ["tcp", "os-poll", "os-util"] } native-tls = "0.2" parking_lot = "0.11" -privdrop = "0.3" +privdrop = "0.5" rand = { version = "0.7", features = ["small_rng"] } serde = { version = "1", features = ["derive"] } socket2 = { version = "0.3", features = ["reuseport"] }