Implement QRCode widget

This commit is contained in:
Héctor Ramón Jiménez 2020-11-20 10:13:58 +01:00
parent 209056e1cd
commit 3296be845c
11 changed files with 358 additions and 2 deletions

View file

@ -30,6 +30,13 @@ mod platform {
)]
pub use crate::renderer::widget::canvas;
#[cfg(any(feature = "qr_code", feature = "glow_qr_code"))]
#[cfg_attr(
docsrs,
doc(cfg(any(feature = "qr_code", feature = "glow_qr_code")))
)]
pub use crate::renderer::widget::qr_code;
#[cfg_attr(docsrs, doc(cfg(feature = "image")))]
pub mod image {
//! Display images in your user interface.
@ -53,6 +60,10 @@ mod platform {
#[cfg(any(feature = "canvas", feature = "glow_canvas"))]
#[doc(no_inline)]
pub use canvas::Canvas;
#[cfg(any(feature = "qr_code", feature = "glow_qr_code"))]
#[doc(no_inline)]
pub use qr_code::QRCode;
}
#[cfg(target_arch = "wasm32")]