Cargo Features

[dependencies]
simdutf8 = { version = "0.1.4", default-features = false, features = ["std", "public_imp", "aarch64_neon", "aarch64_neon_prefetch", "hints"] }
default = std

The std feature is set by default whenever simdutf8 is added without default-features = false somewhere in the dependency tree.

std default

enable CPU feature detection, on by default, turn off for no-std support

public_imp

expose SIMD implementations in basic::imp::* and compat::imp::*

aarch64_neon

aarch64 NEON SIMD implementation - requires Rust 1.59.0 or later

Affects basic::imp.aarch64, compat::imp.aarch64

aarch64_neon_prefetch

enable aarch64 prefetching for minor speedup - requires nightly

hints

deprecated - does not do anything