Cargo Features

[dependencies]
pessimize = { version = "2.0.0", default-features = false, features = ["alloc", "std", "nightly", "default_impl", "safe_arch"] }
default = std

The std feature is set by default whenever pessimize is added without default-features = false somewhere in the dependency tree.

alloc std

Assume availability of dynamic memory allocation

std default = alloc

Assume availability of the full standard library

nightly default_impl?

Use experimental language features only available in the nightly compiler

Affects x86_family::avx512

default_impl = nightly

Provide a default implementation of Pessimize for all types (requires nightly)

Features from optional dependencies

safe_arch implicit feature

Enables safe_arch

safe_arch:

Crate that exposes core::arch safely via #[cfg()]