Add image format options to reduce code bloat, fixes #376

This commit is contained in:
Greg V 2020-06-05 21:18:22 +03:00 committed by Héctor Ramón Jiménez
parent 9f5c2eb0c4
commit 8f126c212b
8 changed files with 39 additions and 25 deletions

View file

@ -34,7 +34,7 @@ mod platform {
)]
pub use crate::renderer::widget::qr_code;
#[cfg_attr(docsrs, doc(cfg(feature = "image")))]
#[cfg_attr(docsrs, doc(cfg(feature = "image_rs")))]
pub mod image {
//! Display images in your user interface.
pub use crate::runtime::image::viewer;