Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

Commit f7ec5e4

Browse files
delete aes (#1)
1 parent db36e4c commit f7ec5e4

File tree

3 files changed

+2
-26
lines changed

3 files changed

+2
-26
lines changed

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,4 @@ hashbrown = "0.14.3"
103103
smallvec = "1.13.1"
104104

105105
[package.metadata.docs.rs]
106-
rustc-args = ["-C", "target-feature=+aes"]
107-
rustdoc-args = ["-C", "target-feature=+aes"]
108106
features = ["std"]

src/lib.rs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,7 @@ Note the import of [HashMapExt]. This is needed for the constructor.
104104
mod convert;
105105

106106
mod fallback_hash;
107-
108-
cfg_if::cfg_if! {
109-
if #[cfg(any(
110-
all(any(target_arch = "x86", target_arch = "x86_64"), target_feature = "aes", not(miri)),
111-
all(feature = "nightly-arm-aes", target_arch = "aarch64", target_feature = "aes", not(miri)),
112-
all(feature = "nightly-arm-aes", target_arch = "arm", target_feature = "aes", not(miri)),
113-
))] {
114-
mod aes_hash;
115-
pub use crate::aes_hash::AHasher;
116-
} else {
117-
pub use crate::fallback_hash::AHasher;
118-
}
119-
}
107+
pub use crate::fallback_hash::AHasher;
120108

121109
cfg_if::cfg_if! {
122110
if #[cfg(feature = "std")] {

src/random_state.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1+
use crate::fallback_hash::*;
12
use core::hash::Hash;
2-
cfg_if::cfg_if! {
3-
if #[cfg(any(
4-
all(any(target_arch = "x86", target_arch = "x86_64"), target_feature = "aes", not(miri)),
5-
all(feature = "nightly-arm-aes", target_arch = "aarch64", target_feature = "aes", not(miri)),
6-
all(feature = "nightly-arm-aes", target_arch = "arm", target_feature = "aes", not(miri)),
7-
))] {
8-
use crate::aes_hash::*;
9-
} else {
10-
use crate::fallback_hash::*;
11-
}
12-
}
133
cfg_if::cfg_if! {
144
if #[cfg(feature = "specialize")]{
155
use crate::BuildHasherExt;

0 commit comments

Comments
 (0)