aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2025-03-18 11:36:51 -0700
committerJack O'Connor <[email protected]>2025-03-18 11:39:08 -0700
commit657c312945eb611ee149b9e331d8db93cad95c58 (patch)
treeffadd6502771eec0a2eea2880558d404c6f71035
parenta9e92981a5c15db7f6c3a040ffc764b7a49eb4d4 (diff)
mention the "wasm32_simd" Cargo feature in the crate docs
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0141347..92bdbdb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -66,6 +66,10 @@
//! enabling this feature will produce a binary that's not portable to CPUs
//! without NEON support.
//!
+//! The `wasm32_simd` feature enables the WASM SIMD implementation for all `wasm32-`
+//! targets. Similar to the `neon` feature, if `wasm32_simd` is enabled, WASM SIMD
+//! support is assumed. This may become the default in the future.
+//!
//! The `traits-preview` feature enables implementations of traits from the
//! RustCrypto [`digest`] crate, and re-exports that crate as `traits::digest`.
//! However, the traits aren't stable, and they're expected to change in