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 wheneverwasmer-cache
is added without
somewhere in the dependency tree.default-features = false - filesystem default
- blake3-pure
-
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.