diff --git a/src/api/notification.rs b/src/api/notification.rs index 238b99b..be4e6a5 100644 --- a/src/api/notification.rs +++ b/src/api/notification.rs @@ -47,7 +47,6 @@ pub enum HintValue { /// Notification timeout, until close #[derive(Debug, Clone, Copy)] -#[cfg_attr(feature = "clap", derive(clap::ValueEnum))] pub enum Timeout { #[allow(missing_docs)] Default, diff --git a/src/lib.rs b/src/lib.rs index 92229ec..6638a4a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ //! //! # Features //! -//! - clap – enables [clap] support for `Urgency` and `Timeout` enums +//! - clap – enables [clap] support for `Urgency` //! #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)]