From f3e0184aaba8284bbab2ce434dd7ed337d3fbe05 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Thu, 24 Apr 2025 09:32:50 -0700 Subject: update docs for the "std" feature Previously "std" enabled runtime CPU feature detection on x86, but as of https://github.com/BLAKE3-team/BLAKE3/pull/469 that's always on. --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index bdd719f..61ca47f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,11 +24,11 @@ neon = [] # This may become the default in the future. wasm32_simd = [] -# This crate uses libstd for std::io trait implementations, and also for -# runtime CPU feature detection. This feature is enabled by default. If you use -# --no-default-features, the only way to use the SIMD implementations in this -# crate is to enable the corresponding instruction sets statically for the -# entire build, with e.g. RUSTFLAGS="-C target-cpu=native". +# Enables std::io traits, including impl Write for Hasher, impl Read and Seek +# for OutputReader, and the Hasher::update_reader method. This feature is +# enabled by default. (Previously this also controlled runtime CPU feature +# detection on x86, but now we use the no-std-compatible `cpufeatures` crate +# for that.) std = [] # The `rayon` feature (disabled by default, but enabled for docs.rs) adds the -- cgit v1.2.3