mirror of
https://github.com/szymon-jozef/libnotify-rs.git
synced 2026-10-27 11:10:47 +01:00
fix: remove clap from timeout
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user