From 65eb218d3d7ba52b2869a586a1480eeb3c8f84e4 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 21 Nov 2019 13:47:20 +0100 Subject: Move widgets from `core` to `native` and `web` Also made fields private and improved `Renderer` traits. --- winit/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'winit/src/lib.rs') diff --git a/winit/src/lib.rs b/winit/src/lib.rs index d9482fe4..a708b1bd 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -1,3 +1,4 @@ +#[doc(no_inline)] pub use iced_native::*; pub use winit; -- cgit From 580891dda76f7e9174913eb75e3bee4261866d71 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 22 Nov 2019 22:14:39 +0100 Subject: Write docs for `iced_winit` --- winit/src/lib.rs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'winit/src/lib.rs') diff --git a/winit/src/lib.rs b/winit/src/lib.rs index a708b1bd..0a2bf7dd 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -1,3 +1,26 @@ +//! A windowing shell for Iced, on top of [`winit`]. +//! +//! ![`iced_winit` crate graph](https://github.com/hecrj/iced/blob/cae26cb7bc627f4a5b3bcf1cd023a0c552e8c65e/docs/graphs/winit.png?raw=true) +//! +//! `iced_winit` offers some convenient abstractions on top of [`iced_native`] +//! 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. +//! +//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native +//! [`winit`]: https://github.com/rust-windowing/winit +//! [`Application`]: trait.Application.html +//! [`conversion`]: conversion +#![deny(missing_docs)] +#![deny(missing_debug_implementations)] +#![deny(unused_results)] +#![deny(unsafe_code)] +#![deny(rust_2018_idioms)] + #[doc(no_inline)] pub use iced_native::*; pub use winit; -- cgit