Skip to content

Commit

Permalink
Replace num with num_traits for FromPrimitive usage
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher N. Hesse <[email protected]>
  • Loading branch information
raymanfx committed Oct 29, 2023
1 parent dcb7e3c commit 3401966
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ffimage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion ffimage/src/color/gray.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use core::ops::{Deref, DerefMut};

use num::FromPrimitive;
use num_traits::FromPrimitive;

use crate::{color::rgb::Rgb, Pixel};

Expand Down

0 comments on commit 3401966

Please sign in to comment.