Skip to content

Commit

Permalink
add serde import
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron404 committed Jan 2, 2025
1 parent ddb2251 commit 684533e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/imageops/sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
use std::f32;

use num_traits::{NumCast, ToPrimitive, Zero};
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

use crate::image::{GenericImage, GenericImageView};
use crate::traits::{Enlargeable, Pixel, Primitive};
Expand Down

0 comments on commit 684533e

Please sign in to comment.