diff --git a/ffimage/Cargo.toml b/ffimage/Cargo.toml index ba37107..2e13b7a 100644 --- a/ffimage/Cargo.toml +++ b/ffimage/Cargo.toml @@ -9,7 +9,6 @@ readme = "README.md" repository= "https://github.com/raymanfx/ffimage" [dependencies] -num = "0.4.0" num-traits = "0.2.15" [dev-dependencies] diff --git a/ffimage/src/color/gray.rs b/ffimage/src/color/gray.rs index 7f46760..b47160e 100644 --- a/ffimage/src/color/gray.rs +++ b/ffimage/src/color/gray.rs @@ -1,6 +1,6 @@ use core::ops::{Deref, DerefMut}; -use num::FromPrimitive; +use num_traits::FromPrimitive; use crate::{color::rgb::Rgb, Pixel};