From f35527ebb83da821962d46b9f80dab396b7b12f8 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 19 Jul 2024 20:43:21 +0700 Subject: [PATCH] Correctly specify `crossbeam-channel` as feature. The feature controlling the usage of `crossbeam_channel` is not `crossbeam`. This has been incorrect since it was made optional in be6ef8a1. --- notify-debouncer-full/src/lib.rs | 2 +- notify-debouncer-mini/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notify-debouncer-full/src/lib.rs b/notify-debouncer-full/src/lib.rs index 0996fd66..5e884b41 100644 --- a/notify-debouncer-full/src/lib.rs +++ b/notify-debouncer-full/src/lib.rs @@ -123,7 +123,7 @@ where } } -#[cfg(feature = "crossbeam")] +#[cfg(feature = "crossbeam-channel")] impl DebounceEventHandler for crossbeam_channel::Sender { fn handle_event(&mut self, event: DebounceEventResult) { let _ = self.send(event); diff --git a/notify-debouncer-mini/src/lib.rs b/notify-debouncer-mini/src/lib.rs index 84f30209..bd86e545 100644 --- a/notify-debouncer-mini/src/lib.rs +++ b/notify-debouncer-mini/src/lib.rs @@ -152,7 +152,7 @@ where } } -#[cfg(feature = "crossbeam")] +#[cfg(feature = "crossbeam-channel")] impl DebounceEventHandler for crossbeam_channel::Sender { fn handle_event(&mut self, event: DebounceEventResult) { let _ = self.send(event);