Update graphs in crate docs

This commit is contained in:
Héctor Ramón Jiménez 2020-11-26 07:22:03 +01:00
parent 0525d76ff9
commit 11798dcc03
14 changed files with 15 additions and 7 deletions

View File

@ -1,11 +1,11 @@
//! The core library of [Iced]. //! The core library of [Iced].
//! //!
//! ![`iced_core` crate graph](https://github.com/hecrj/iced/blob/cae26cb7bc627f4a5b3bcf1cd023a0c552e8c65e/docs/graphs/core.png?raw=true)
//!
//! This library holds basic types that can be reused and re-exported in //! This library holds basic types that can be reused and re-exported in
//! different runtime implementations. For instance, both [`iced_native`] and //! different runtime implementations. For instance, both [`iced_native`] and
//! [`iced_web`] are built on top of `iced_core`. //! [`iced_web`] are built on top of `iced_core`.
//! //!
//! ![The foundations of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
//!
//! [Iced]: https://github.com/hecrj/iced //! [Iced]: https://github.com/hecrj/iced
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native //! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
//! [`iced_web`]: https://github.com/hecrj/iced/tree/master/web //! [`iced_web`]: https://github.com/hecrj/iced/tree/master/web

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,4 +1,6 @@
//! Asynchronous tasks for GUI programming, inspired by Elm. //! Asynchronous tasks for GUI programming, inspired by Elm.
//!
//! ![The foundations of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
#![deny(missing_docs)] #![deny(missing_docs)]
#![deny(missing_debug_implementations)] #![deny(missing_debug_implementations)]
#![deny(unused_results)] #![deny(unused_results)]

View File

@ -1,5 +1,7 @@
//! A [`glow`] renderer for [`iced_native`]. //! A [`glow`] renderer for [`iced_native`].
//! //!
//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//!
//! [`glow`]: https://github.com/grovesNL/glow //! [`glow`]: https://github.com/grovesNL/glow
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native //! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
#![deny(missing_docs)] #![deny(missing_docs)]

View File

@ -1,5 +1,7 @@
//! A windowing shell for [`iced`], on top of [`glutin`]. //! A windowing shell for [`iced`], on top of [`glutin`].
//! //!
//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//!
//! [`iced`]: https://github.com/hecrj/iced //! [`iced`]: https://github.com/hecrj/iced
//! [`glutin`]: https://github.com/rust-windowing/glutin //! [`glutin`]: https://github.com/rust-windowing/glutin
#![deny(missing_docs)] #![deny(missing_docs)]

View File

@ -1,6 +1,8 @@
//! A bunch of backend-agnostic types that can be leveraged to build a renderer //! A bunch of backend-agnostic types that can be leveraged to build a renderer
//! for [`iced`]. //! for [`iced`].
//! //!
//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//!
//! [`iced`]: https://github.com/hecrj/iced //! [`iced`]: https://github.com/hecrj/iced
#![deny(missing_docs)] #![deny(missing_docs)]
#![deny(missing_debug_implementations)] #![deny(missing_debug_implementations)]

View File

@ -1,6 +1,6 @@
//! A renderer-agnostic native GUI runtime. //! A renderer-agnostic native GUI runtime.
//! //!
//! ![`iced_native` crate graph](https://github.com/hecrj/iced/blob/cae26cb7bc627f4a5b3bcf1cd023a0c552e8c65e/docs/graphs/native.png?raw=true) //! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/raw/improvement/update-ecosystem-and-roadmap/docs/graphs/native.png)
//! //!
//! `iced_native` takes [`iced_core`] and builds a native runtime on top of it, //! `iced_native` takes [`iced_core`] and builds a native runtime on top of it,
//! featuring: //! featuring:

View File

@ -2,6 +2,8 @@
//! //!
//! It contains a set of styles and stylesheets for most of the built-in //! It contains a set of styles and stylesheets for most of the built-in
//! widgets. //! widgets.
//!
//! ![The foundations of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
pub use iced_core::{Background, Color}; pub use iced_core::{Background, Color};
pub mod button; pub mod button;

View File

@ -1,7 +1,5 @@
//! A web runtime for Iced, targetting the DOM. //! A web runtime for Iced, targetting the DOM.
//! //!
//! ![`iced_web` crate graph](https://github.com/hecrj/iced/blob/cae26cb7bc627f4a5b3bcf1cd023a0c552e8c65e/docs/graphs/web.png?raw=true)
//!
//! `iced_web` takes [`iced_core`] and builds a WebAssembly runtime on top. It //! `iced_web` takes [`iced_core`] and builds a WebAssembly runtime on top. It
//! achieves this by introducing a `Widget` trait that can be used to produce //! achieves this by introducing a `Widget` trait that can be used to produce
//! VDOM nodes. //! VDOM nodes.

View File

@ -1,6 +1,6 @@
//! A [`wgpu`] renderer for [`iced_native`]. //! A [`wgpu`] renderer for [`iced_native`].
//! //!
//! ![`iced_wgpu` crate graph](https://github.com/hecrj/iced/blob/cae26cb7bc627f4a5b3bcf1cd023a0c552e8c65e/docs/graphs/wgpu.png?raw=true) //! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//! //!
//! For now, it is the default renderer of [Iced] in native platforms. //! For now, it is the default renderer of [Iced] in native platforms.
//! //!

View File

@ -1,6 +1,6 @@
//! A windowing shell for Iced, on top of [`winit`]. //! 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) //! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//! //!
//! `iced_winit` offers some convenient abstractions on top of [`iced_native`] //! `iced_winit` offers some convenient abstractions on top of [`iced_native`]
//! to quickstart development when using [`winit`]. //! to quickstart development when using [`winit`].