Crate features / bytemuck
Feature flags · bytemuck 1.25.2 · from crates.io 2026-10-24
bytemuck features: what each one does, and the line to copy
Short answerbytemuck 1.25.2 has 25 features. Nothing is on by default: turn on what you use.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
aarch64_simd | nothing else (a switch the code checks) | |
align_offset | nothing else (a switch the code checks) | |
alloc_uninit | nothing else (a switch the code checks) | |
avx512_simd | nothing else (a switch the code checks) | |
const_zeroed | nothing else (a switch the code checks) | |
derive | bytemuck_derive | |
extern_crate_alloc | nothing else (a switch the code checks) | |
extern_crate_std | extern_crate_alloc | |
impl_core_error | nothing else (a switch the code checks) | |
latest_stable_rust | aarch64_simd, avx512_simd, align_offset, alloc_uninit, const_zeroed, derive, impl_core_error, min_const_generics, must_cast, must_cast_extra, pod_saturating, track_caller, transparentwrapper_extra, wasm_simd, zeroable_atomics, zeroable_maybe_uninit, zeroable_unwind_fn | |
min_const_generics | nothing else (a switch the code checks) | |
must_cast | nothing else (a switch the code checks) | |
must_cast_extra | must_cast | |
nightly_docs | nothing else (a switch the code checks) | |
nightly_float | nothing else (a switch the code checks) | |
nightly_portable_simd | rustversion | |
nightly_stdsimd | nothing else (a switch the code checks) | |
pod_saturating | nothing else (a switch the code checks) | |
track_caller | nothing else (a switch the code checks) | |
transparentwrapper_extra | nothing else (a switch the code checks) | |
unsound_ptr_pod_impl | nothing else (a switch the code checks) | |
wasm_simd | nothing else (a switch the code checks) | |
zeroable_atomics | nothing else (a switch the code checks) | |
zeroable_maybe_uninit | nothing else (a switch the code checks) | |
zeroable_unwind_fn | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
More on bytemuck
Real downloads, dependents and alternatives: bytemuck crate data (1.3M real downloads a day, 4,338 dependents).
docs.rs feature list · crates.io · license Zlib OR Apache-2.0 OR MIT · edition 2018
Up next
Before you depend on itbytemuck crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?