Cargo Features

[dependencies]
archmage = { version = "0.9.5", default-features = false, features = ["std", "macros", "avx512", "safe_unaligned_simd", "testable_dispatch"] }
default = std

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

std default

Affects archmage::testing

macros

Backwards-compat: macros are now always included. This feature exists so features = ["macros"] doesn't break.

avx512

AVX-512 token support (Avx512Token, X64V4xToken, X64V4Token, etc.)
Also enables AVX-512 safe memory ops from safe_unaligned_simd.

Enables avx512 of safe_unaligned_simd

Safe unaligned SIMD load/store (reference-based, no raw pointers)

safe_unaligned_simd avx512?

Backwards-compat: safe_unaligned_simd is now always included (no longer optional). This feature exists so features = ["safe_unaligned_simd"] doesn't break.

testable_dispatch

Make token disabling work even when compiled with -Ctarget-cpu=native.
Without this, the compiler bakes summon() into a no-op and tokens can't be disabled at runtime. With this, compiled_with() returns None and summon()
uses runtime detection + cache, so dangerously_disable_token_process_wide()
and for_each_token_permutation() always work.