Introduce feature flags to enable iced_glow

Also keep `iced_wgpu` as the default renderer for the time being.
This commit is contained in:
Héctor Ramón Jiménez 2020-05-27 05:05:13 +02:00
parent d6bf8955db
commit 22ced3485e
8 changed files with 72 additions and 35 deletions

View file

@ -7,6 +7,8 @@
//! ```
//! use iced_wgpu::{button, Button};
//! ```
use crate::Renderer;
pub mod button;
pub mod checkbox;
pub mod container;
@ -47,3 +49,8 @@ pub mod canvas;
#[cfg(feature = "canvas")]
#[doc(no_inline)]
pub use canvas::Canvas;
pub use iced_native::Space;
pub type Column<'a, Message> = iced_native::Column<'a, Message, Renderer>;
pub type Row<'a, Message> = iced_native::Row<'a, Message, Renderer>;