Cargo Features
vectorscan-rs-sys has no features set by default.
[dependencies]
vectorscan-rs-sys = { version = "0.0.5", features = ["gen", "simd_specialization", "cpu_native", "unit_hyperscan", "asan"] }
- gen = bindgen
-
This feature causes
bindgen
to run to produce the raw Rust bindings to Vectorscan. - simd_specialization
-
This feature causes Vectorscan to build using available SIMD microarchitecture support from the build system CPU, such as AVX2, AVX512,
SVE, and SVE2. The resulting binary will not be portable to CPUs that lack SIMD support that the build system has. - cpu_native
-
This feature causes Vectorscan to build with code tuned for the microarchitecture of the build system's CPU. The resulting binary will not be portable to CPUs that lack SIMD support that the build system has.
- unit_hyperscan
-
This feature causes the Vectorscan unit test suite to be built and run at crate build time.
- asan
-
This feature causes Vectorscan to build with address sanitizer enabled.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- bindgen build gen?
-
Enables bindgen ^0.70