From 0e60bdf26eb842744f59257800ca8e30b1a43836 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Wed, 22 Nov 2023 14:02:09 +0200 Subject: [PATCH] Cargo.toml: add "iterator" feature to signal-hook This dependency is necessary, though for some reason the build doesn't always fail if it's not specified. Signed-off-by: Manos Pitsidianakis --- meli/Cargo.toml | 2 +- tools/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meli/Cargo.toml b/meli/Cargo.toml index 74a3314a..06732058 100644 --- a/meli/Cargo.toml +++ b/meli/Cargo.toml @@ -45,7 +45,7 @@ pcre2 = { version = "0.2.3", optional = true } serde = "1.0.71" serde_derive = "1.0.71" serde_json = "1.0" -signal-hook = { version = "^0.3", default-features = false } +signal-hook = { version = "^0.3", default-features = false, features = ["iterator"] } signal-hook-registry = { version = "1.2.0", default-features = false } smallvec = { version = "^1.5.0", features = ["serde"] } structopt = { version = "0.3.14", default-features = false } diff --git a/tools/Cargo.toml b/tools/Cargo.toml index e163c6d3..640d67cf 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -41,7 +41,7 @@ crossbeam = { version = "^0.8" } meli = { version = "0.7" } melib = { version = "0.7", features = ["debug-tracing", "unicode-algorithms"] } nix = { version = "^0.24", default-features = false } -signal-hook = { version = "^0.3", default-features = false } +signal-hook = { version = "^0.3", default-features = false, features = ["iterator"] } signal-hook-registry = { version = "1.2.0", default-features = false } [features]