Use iced_renderer instead of iced_graphics in root crate

This commit is contained in:
Héctor Ramón Jiménez 2023-02-28 20:47:13 +01:00
parent fd06de5d9c
commit 3f6e28fa9b
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
6 changed files with 13 additions and 6 deletions

View file

@ -13,7 +13,7 @@ pub enum Error {
/// The application graphics context could not be created.
#[error("the application graphics context could not be created")]
GraphicsCreationFailed(iced_graphics::Error),
GraphicsCreationFailed(iced_renderer::Error),
}
impl From<iced_winit::Error> for Error {

View file

@ -165,7 +165,7 @@ pub use vertical_slider::VerticalSlider;
#[cfg(feature = "canvas")]
#[cfg_attr(docsrs, doc(cfg(feature = "canvas")))]
pub use iced_graphics::widget::canvas;
pub use iced_renderer::widget::canvas;
#[cfg(feature = "canvas")]
#[cfg_attr(docsrs, doc(cfg(feature = "canvas")))]
@ -192,7 +192,7 @@ pub mod image {
#[cfg(feature = "qr_code")]
#[cfg_attr(docsrs, doc(cfg(feature = "qr_code")))]
pub use iced_graphics::widget::qr_code;
pub use iced_renderer::widget::qr_code;
#[cfg(feature = "svg")]
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]