From 237c3afd14ca3197f58b4a70665887f3ea5b90cd Mon Sep 17 00:00:00 2001 From: zhangsoledad <787953403@qq.com> Date: Wed, 6 Sep 2023 16:40:50 +0800 Subject: [PATCH] chore: bump v0.8.1 --- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 143e871..69cf79a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "faster-hex" -version = "0.8.0" +version = "0.8.1" authors = ["zhangsoledad <787953403@qq.com>"] edition = "2018" keywords = ["simd", "hex", "no-std"] diff --git a/src/lib.rs b/src/lib.rs index 706bef4..86a3577 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -124,8 +124,8 @@ mod tests { Vectorization::AVX2 => assert!(is_x86_feature_detected!("avx2")), Vectorization::SSE41 => assert!(is_x86_feature_detected!("sse4.1")), Vectorization::None => assert!( - !cfg!(target_feature = "sse") || - !is_x86_feature_detected!("avx2") && !is_x86_feature_detected!("sse4.1") + !cfg!(target_feature = "sse") + || !is_x86_feature_detected!("avx2") && !is_x86_feature_detected!("sse4.1") ), } }