diff --git a/druid/src/box_constraints.rs b/druid/src/box_constraints.rs index b3999df1cc..8d714bfa49 100644 --- a/druid/src/box_constraints.rs +++ b/druid/src/box_constraints.rs @@ -15,7 +15,6 @@ //! The fundamental druid types. use crate::kurbo::Size; -use log; /// Constraints for layout. /// diff --git a/druid/src/core.rs b/druid/src/core.rs index d3c775494e..398aad914c 100644 --- a/druid/src/core.rs +++ b/druid/src/core.rs @@ -16,8 +16,6 @@ use std::collections::VecDeque; -use log; - use crate::bloom::Bloom; use crate::kurbo::{Affine, Insets, Point, Rect, Shape, Size, Vec2}; use crate::piet::RenderContext; diff --git a/druid/src/tests/mod.rs b/druid/src/tests/mod.rs index 58766e27fd..683f79e375 100644 --- a/druid/src/tests/mod.rs +++ b/druid/src/tests/mod.rs @@ -22,7 +22,6 @@ use std::cell::Cell; use std::env; use std::fs; use std::rc::Rc; -use tempfile; use crate::widget::*; use crate::*; diff --git a/druid/src/widget/image.rs b/druid/src/widget/image.rs index d13c8074b7..7205f10b72 100644 --- a/druid/src/widget/image.rs +++ b/druid/src/widget/image.rs @@ -19,8 +19,6 @@ use std::convert::AsRef; use std::error::Error; use std::path::Path; -use image; - use crate::{ piet::{ImageFormat, InterpolationMode}, widget::common::FillStrat, diff --git a/druid/src/widget/svg.rs b/druid/src/widget/svg.rs index 0678d8d405..116374d7f9 100644 --- a/druid/src/widget/svg.rs +++ b/druid/src/widget/svg.rs @@ -20,8 +20,6 @@ use std::sync::Arc; use log::error; -use usvg; - use crate::{ kurbo::BezPath, widget::common::FillStrat, Affine, BoxConstraints, Color, Data, Env, Event, EventCtx, LayoutCtx, LifeCycle, LifeCycleCtx, PaintCtx, Rect, RenderContext, Size, UpdateCtx,