Cargo Features
[dependencies]
maimo = { version = "0.0.3", default-features = false, features = ["neon", "rayon"] }
- default = rayon
-
The
rayon
feature is set by default whenevermaimo
is added without
somewhere in the dependency tree.default-features = false - neon
-
blake3:
The NEON implementation does not participate in dynamic feature detection,
which is currently x86-only. If "neon" is on, NEON support is assumed. Note that AArch64 always supports NEON, but support on ARMv7 varies. The NEON implementation uses C intrinsics and requires a C compiler. - rayon default
-
blake3:
The
rayon
feature (disabled by default, but enabled for docs.rs) adds theupdate_rayon
and (in combination withmmap
below)update_mmap_rayon
methods, for multithreaded hashing. However, even if this feature is enabled, all other APIs remain single-threaded.Implementation detail: We take a dependency on rayon-core instead of rayon, because it builds faster and still includes all the APIs we need.
Maimo has 3 features without comments.