2019-11-22 22:14:39 +01:00
//! A windowing shell for Iced, on top of [`winit`].
//!
2022-05-02 20:25:47 +02:00
//! 
2019-11-22 22:14:39 +01:00
//!
2023-07-28 19:48:39 +02:00
//! `iced_winit` offers some convenient abstractions on top of [`iced_runtime`]
2019-11-22 22:14:39 +01:00
//! to quickstart development when using [`winit`].
//!
//! It exposes a renderer-agnostic [`Application`] trait that can be implemented
//! and then run with a simple call. The use of this trait is optional.
//!
//! Additionally, a [`conversion`] module is available for users that decide to
//! implement a custom event loop.
//!
2024-02-15 03:22:53 +01:00
//! [`iced_runtime`]: https://github.com/iced-rs/iced/tree/0.12/runtime
2019-11-22 22:14:39 +01:00
//! [`winit`]: https://github.com/rust-windowing/winit
2020-11-25 07:11:27 +01:00
//! [`conversion`]: crate::conversion
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
) ]
2023-05-11 17:28:51 +02:00
#![ cfg_attr(docsrs, feature(doc_auto_cfg)) ]
2023-03-04 05:37:11 +01:00
pub use iced_graphics as graphics ;
2023-03-05 06:35:20 +01:00
pub use iced_runtime as runtime ;
pub use iced_runtime ::core ;
pub use iced_runtime ::futures ;
2019-10-03 00:08:16 +02:00
pub use winit ;
2019-10-09 05:36:49 +02:00
2023-03-13 14:16:45 -07:00
#[ cfg(feature = " multi-window " ) ]
2022-04-01 17:27:19 -03:00
pub mod multi_window ;
2022-01-15 00:06:36 -08:00
#[ cfg(feature = " application " ) ]
2020-05-21 04:27:31 +02:00
pub mod application ;
2021-09-02 13:46:01 +07:00
pub mod clipboard ;
2019-10-10 05:44:33 +02:00
pub mod conversion ;
2019-11-25 14:17:13 +01:00
pub mod settings ;
2019-10-10 05:44:33 +02:00
2022-04-30 13:37:57 +02:00
#[ cfg(feature = " system " ) ]
pub mod system ;
2020-09-08 00:35:17 +02:00
mod error ;
2020-01-19 10:17:08 +01:00
mod proxy ;
2019-10-09 05:36:49 +02:00
2022-01-15 00:06:36 -08:00
#[ cfg(feature = " application " ) ]
2019-12-18 07:45:49 +01:00
pub use application ::Application ;
2020-02-01 22:05:25 -05:00
pub use clipboard ::Clipboard ;
2020-09-08 00:35:17 +02:00
pub use error ::Error ;
2020-05-21 00:37:47 +02:00
pub use proxy ::Proxy ;
2019-12-18 07:45:49 +01:00
pub use settings ::Settings ;