Cargo Features

[dependencies]
magetypes = { version = "0.9.21", default-features = false, features = ["std", "w512", "avx512"] }
default = std, w512

bytemuck is NOT default - it bypasses token-gated construction safety Users who enable it are explicitly opting out of token safety guarantees

std default

Enables std of archmage

Core tokens and macros

w512 default avx512?

512-bit SIMD type support (polyfill via 2×W256 on all platforms).
Gates the f32x16/f64x8/i*x64/u*x64/i*x32/u*x32/i*x16/u*x16 generic wrappers,
backend traits, and all W512 backend impls.

Affects convert::F32x16Convert, generated::scalar.f32x16, generated::scalar.f64x8, generated::scalar.i8x64, generated::scalar.u8x64, generated::scalar.i16x32, generated::scalar.u16x32, generated::scalar.i32x16, generated::scalar.u32x16, generated::scalar.i64x8, generated::scalar.u64x8, cross_width::F32x16FromHalves

avx512 = w512

AVX-512 native type support. Implies w512 (native impls need the backend traits).

Enables avx512 of archmage

Affects prelude::LANES, prelude::F32_LANES, prelude::F64_LANES, prelude::I32_LANES, generated::x86.w512, generated::v4.Token, generated::v4x.Token, x86::w512, w512::f32x16, w512::f64x8, w512::i8x64, w512::u8x64, w512::i16x32, w512::u16x32, w512::i32x16, w512::u32x16, w512::i64x8, w512::u64x8