Cargo Features

[dependencies]
wasmer-cache = { version = "5.0.3", default-features = false, features = ["filesystem", "blake3-pure"] }
default = filesystem

The filesystem feature is set by default whenever wasmer-cache is added without default-features = false somewhere in the dependency tree.

filesystem default
blake3-pure

Enables pure of blake3

blake3:

By default on x86_64, this crate uses Samuel Neves' hand-written assembly implementations for SSE4.1, AVX2, and AVX512. (These provide both the best runtime performance, and the fastest build times.) And by default on 32-bit x86, this crate uses Rust intrinsics implementations for SSE4.1 and AVX2, and a C intrinsics implementation for AVX-512. In both cases, if a C compiler is not detected, or if AVX-512 support is missing from the detected compiler,
build.rs automatically falls back to a pure Rust build. This feature forces that fallback, for testing purposes. (Note that in CI testing, we set the BLAKE3_CI environment variable, which instructs build.rs to error out rather than doing an automatic fallback.)

wasmer-cache has 3 features without comments.