iced-yoda/runtime/src/lib.rs

46 lines
1.3 KiB
Rust
Raw Normal View History

//! A renderer-agnostic native GUI runtime.
2019-09-20 19:15:31 +02:00
//!
//! ![The native path of the Iced ecosystem](https://github.com/iced-rs/iced/raw/improvement/update-ecosystem-and-roadmap/docs/graphs/native.png)
2019-09-20 19:15:31 +02:00
//!
//! `iced_runtime` takes [`iced_core`] and builds a native runtime on top of it.
2019-09-20 19:15:31 +02:00
//!
2023-07-28 19:48:39 +02:00
//! [`iced_core`]: https://github.com/iced-rs/iced/tree/0.10/core
2021-12-08 08:04:46 +01:00
#![doc(
2021-12-09 15:10:38 +07:00
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
2021-12-08 08:04:46 +01:00
)]
#![forbid(unsafe_code, rust_2018_idioms)]
#![deny(
missing_debug_implementations,
missing_docs,
unused_results,
rustdoc::broken_intra_doc_links
)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
pub mod clipboard;
pub mod command;
pub mod font;
pub mod keyboard;
2023-02-19 17:43:13 -08:00
pub mod overlay;
2020-05-21 04:27:31 +02:00
pub mod program;
2022-02-16 19:20:26 -03:00
pub mod system;
pub mod user_interface;
pub mod window;
2019-09-20 19:15:31 +02:00
2020-05-21 04:27:31 +02:00
// We disable debug capabilities on release builds unless the `debug` feature
// is explicitly enabled.
#[cfg(feature = "debug")]
#[path = "debug/basic.rs"]
mod debug;
#[cfg(not(feature = "debug"))]
#[path = "debug/null.rs"]
mod debug;
pub use iced_core as core;
pub use iced_futures as futures;
pub use command::Command;
2020-05-21 04:27:31 +02:00
pub use debug::Debug;
pub use font::Font;
2020-05-21 04:27:31 +02:00
pub use program::Program;
pub use user_interface::UserInterface;