From 9c20a658fe4f47712132e2cbdb07d163077dd4ec Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Mon, 16 May 2022 19:51:12 +0200 Subject: [PATCH] Release v 0.3.14 --- CHANGELOG.md | 4 ++++ Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 8 ++++++-- src/low_level/signal_details.rs | 8 ++++++-- 5 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d4d1fa..60e0f30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.3.14 + +* Added the SIGINFO signal (where available). + # signal-hook-mio-0.2.3 * Support for mio 0.8 diff --git a/Cargo.lock b/Cargo.lock index 31d2dc3..ac13b15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -688,7 +688,7 @@ dependencies = [ [[package]] name = "signal-hook" -version = "0.3.13" +version = "0.3.14" dependencies = [ "cc", "libc", diff --git a/Cargo.toml b/Cargo.toml index 326a23a..3d88601 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "signal-hook" -version = "0.3.13" +version = "0.3.14" authors = [ "Michal 'vorner' Vaner ", "Thomas Himmelstoss ", diff --git a/src/lib.rs b/src/lib.rs index 60a2a27..d750e15 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -378,8 +378,12 @@ pub mod consts { pub use libc::SIGIO; #[cfg(any( - target_os="freebsd", target_os="dragonfly", target_os="netbsd", target_os="openbsd", - target_os="macos"))] + target_os = "freebsd", + target_os = "dragonfly", + target_os = "netbsd", + target_os = "openbsd", + target_os = "macos" + ))] pub use libc::SIGINFO; #[cfg(windows)] diff --git a/src/low_level/signal_details.rs b/src/low_level/signal_details.rs index 763c15e..a8b7017 100644 --- a/src/low_level/signal_details.rs +++ b/src/low_level/signal_details.rs @@ -48,8 +48,12 @@ const DETAILS: &[Details] = &[ s!(SIGILL, Term), s!(SIGINT, Term), #[cfg(any( - target_os="freebsd", target_os="dragonfly", target_os="netbsd", - target_os="openbsd", target_os="macos"))] + target_os = "freebsd", + target_os = "dragonfly", + target_os = "netbsd", + target_os = "openbsd", + target_os = "macos" + ))] s!(SIGINFO, Ignore), #[cfg(not(target_os = "haiku"))] s!(SIGIO, Ignore),