libcosmic/src/lib.rs

36 lines
759 B
Rust
Raw Normal View History

// Copyright 2022 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0
2022-12-23 15:10:13 +01:00
#![allow(clippy::module_name_repetitions)]
pub use iced;
2022-09-30 12:26:14 -06:00
pub use iced_lazy;
2022-10-18 10:07:32 -06:00
pub use iced_native;
#[cfg(feature = "wayland")]
pub use iced_sctk;
2022-10-18 10:07:32 -06:00
pub use iced_style;
2022-11-15 23:11:48 +01:00
#[cfg(feature = "winit")]
2022-10-07 05:20:06 +02:00
pub use iced_winit;
2022-11-12 01:55:37 +01:00
#[cfg(feature = "applet")]
pub mod applet;
pub mod font;
pub mod keyboard_nav;
pub mod theme;
pub mod widget;
#[cfg(feature = "tokio")]
mod single_thread_executor;
#[cfg(feature = "tokio")]
pub use single_thread_executor::SingleThreadExecutor;
pub mod settings;
pub use settings::settings;
mod ext;
pub use ext::ElementExt;
pub use theme::Theme;
pub type Renderer = iced::Renderer<Theme>;
pub type Element<'a, Message> = iced::Element<'a, Message, Renderer>;