libcosmic/src/lib.rs
2023-01-10 20:49:49 +01:00

28 lines
577 B
Rust

// Copyright 2022 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0
#![allow(clippy::module_name_repetitions)]
pub use iced;
pub use iced_lazy;
pub use iced_native;
pub use iced_style;
#[cfg(feature = "winit")]
pub use iced_winit;
#[cfg(feature = "applet")]
pub mod applet;
pub mod font;
pub mod keyboard_nav;
pub mod theme;
pub mod widget;
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>;