@@ -2,8 +2,6 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
-#![cfg(desktop)]
-
//! Menu types and utilities.
mod builders;
-#![cfg(all(desktop, feature = "tray-icon"))]
//! Tray icon types and utilities.
pub(crate) mod plugin;
@@ -2,7 +2,6 @@
-#![cfg(windows)]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(clippy::upper_case_acronyms)]
@@ -18,6 +18,7 @@ pub struct DirOpts {
pub struct FileOpts {
pub overwrite: bool,
pub skip: bool,
+ #[allow(dead_code)]
pub buffer_size: usize,
}