mirror of
https://github.com/szymon-jozef/libnotify-rs.git
synced 2026-10-27 19:20:43 +01:00
fix: remove clap from timeout
This commit is contained in:
@@ -47,7 +47,6 @@ pub enum HintValue {
|
|||||||
|
|
||||||
/// Notification timeout, until close
|
/// Notification timeout, until close
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy)]
|
||||||
#[cfg_attr(feature = "clap", derive(clap::ValueEnum))]
|
|
||||||
pub enum Timeout {
|
pub enum Timeout {
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
Default,
|
Default,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
//!
|
//!
|
||||||
//! # Features
|
//! # Features
|
||||||
//!
|
//!
|
||||||
//! - clap – enables [clap] support for `Urgency` and `Timeout` enums
|
//! - clap – enables [clap] support for `Urgency`
|
||||||
//!
|
//!
|
||||||
#![allow(non_upper_case_globals)]
|
#![allow(non_upper_case_globals)]
|
||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
|
|||||||
Reference in New Issue
Block a user