Cargo Features

vectorscan-rs has no features set by default.

[dependencies]
vectorscan-rs = { version = "0.0.3", features = ["simd_specialization", "cpu_native", "fast_nonportable", "unit_hyperscan"] }
simd_specialization fast_nonportable?

Specialize the build of Vectorscan to use available SIMD instructions on the build system's CPU.
This will result in binary that is not portable to other CPUs.

Enables simd_specialization of vectorscan-rs-sys

cpu_native fast_nonportable?

Specialize the build of Vectorscan for the microarchitecture of the build system's CPU.
This will result in binary that is not portable to other CPUs.

Enables cpu_native of vectorscan-rs-sys

fast_nonportable = cpu_native, simd_specialization

Enable all features that can improve speed but break binary portability.

unit_hyperscan

This feature causes the Vectorscan unit test suite to be built and run at crate build time.

Enables unit_hyperscan of vectorscan-rs-sys