From d86a78b23569dd1ffe0557816965bfefbe527b11 Mon Sep 17 00:00:00 2001 From: bendn Date: Thu, 7 Dec 2023 09:24:53 +0700 Subject: [PATCH] fix simd --- Cargo.toml | 2 +- src/overlay.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f9bc1e6..2aa8d15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fimg" -version = "0.4.29" +version = "0.4.30" authors = ["bend-n "] license = "MIT" edition = "2021" diff --git a/src/overlay.rs b/src/overlay.rs index 8561ab5..8eca5d5 100644 --- a/src/overlay.rs +++ b/src/overlay.rs @@ -4,7 +4,7 @@ use crate::cloner::ImageCloner; use super::{assert_unchecked, Image}; use crate::pixels::Blend; -use std::simd::{simd_swizzle, Simd, SimdInt, SimdPartialOrd}; +use std::simd::prelude::*; /// Trait for layering a image ontop of another, with a offset to the second image. pub trait OverlayAt {