aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorNazar Mokrynskyi <[email protected]>2025-04-09 08:54:58 +0300
committerJack O'Connor <[email protected]>2025-04-24 09:16:25 -0700
commited3fd0da1d049ab531bcd358630da02ece504464 (patch)
tree57366a8f20b1e689cd07544ad4c477afc365af0f /Cargo.toml
parentdf610ddc3b93841ffc59a87e3da659a15910eb46 (diff)
Check x86 features even in `no_std`
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 25ab345..bdd719f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -120,6 +120,9 @@ rayon-core = { version = "1.12.1", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
zeroize = { version = "1", default-features = false, optional = true }
+[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
+cpufeatures = "0.2.17"
+
[dev-dependencies]
hmac = "0.12.0"
hex = "0.4.2"