libcosmic/src/lib.rs

35 lines
798 B
Rust

// Copyright 2022 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0
#![allow(clippy::module_name_repetitions)]
pub use cosmic_config;
pub use cosmic_theme;
pub use iced;
pub use iced_runtime;
#[cfg(feature = "wayland")]
pub use iced_sctk;
pub use iced_style;
pub use iced_widget;
#[cfg(feature = "winit")]
pub use iced_winit;
#[cfg(feature = "wayland")]
pub use sctk;
pub mod executor;
pub mod font;
pub mod keyboard_nav;
pub mod theme;
pub mod widget;
#[cfg(feature = "tokio")]
pub use executor::single::Executor as SingleThreadExecutor;
pub mod settings;
pub use settings::{settings, settings_with_flags};
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>;