Cargo Features

[dependencies]
simd_cesu8 = { version = "1.0.1", default-features = false, features = ["bench", "nightly", "std"] }

Features

default = std

By default, we enable the std feature.

std enables the use of the standard library, which most people will want to use. Also, simdutf8 uses the standard library for CPU feature detection, which is generally a good thing to have.

bench

THIS IS A SEMVER-EXEMPT, PRIVATE FEATURE. DO NOT USE IT.

This feature exposes some internal functions regardless of the features that are enabled, so we can benchmark them.

Affects implementation::word

nightly

The nightly feature enables nightly-only features like array_chunks and portable_simd. This is automatically enabled if the compiler is nightly.

Affects implementation::simd

std default

The std feature enables the use of the standard library. This is useful for simdutf8 so it can use its CPU feature detection.

Enables std of simdutf8