diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 4fd083d94..d03b022ef 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -4,4 +4,7 @@ ignore = [ # https://github.com/tokio-rs/tokio/issues/4177 "RUSTSEC-2020-0159", + # We depend on nix 0.22 only via mio-aio, a dev-dependency. + # https://github.com/tokio-rs/tokio/pull/4255#issuecomment-974786349 + "RUSTSEC-2021-0119", ] diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 348ec4657..5b18d4095 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -110,7 +110,7 @@ signal-hook-registry = { version = "1.1.1", optional = true } [target.'cfg(unix)'.dev-dependencies] libc = { version = "0.2.42" } -nix = { version = "0.22.0" } +nix = { version = "0.23" } [target.'cfg(windows)'.dependencies.winapi] version = "0.3.8"