Skip to content

Commit d5c86d4

Browse files
authored
aes: use cpufeatures v0.1 crate release (#236)
Renamed from `cpuid-bool`
1 parent db37632 commit d5c86d4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aes/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ opaque-debug = "0.3"
2424
cipher = { version = "0.3", features = ["dev"] }
2525

2626
[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies]
27-
cpuid-bool = "0.2"
27+
cpufeatures = "0.1"
2828

2929
[features]
3030
compact = [] # Reduce code size at the cost of slower performance

aes/src/autodetect.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use cipher::{
99
};
1010
use core::mem::ManuallyDrop;
1111

12-
cpuid_bool::new!(aes_cpuid, "aes");
12+
cpufeatures::new!(aes_cpuid, "aes");
1313

1414
macro_rules! define_aes_impl {
1515
(
@@ -136,7 +136,7 @@ pub(crate) mod ctr {
136136
};
137137
use core::mem::ManuallyDrop;
138138

139-
cpuid_bool::new!(aes_ssse3_cpuid, "aes", "ssse3");
139+
cpufeatures::new!(aes_ssse3_cpuid, "aes", "ssse3");
140140

141141
macro_rules! define_aes_ctr_impl {
142142
(

0 commit comments

Comments
 (0)