[package]
name = "bytemuck"
description = "A crate for mucking around with piles of bytes."
version = "1.18.0"
authors = ["Lokathor <zefria@gmail.com>"]
repository = "https://github.com/Lokathor/bytemuck"
readme = "README.md"
keywords = ["transmute", "bytes", "casting"]
categories = ["encoding", "no-std"]
edition = "2018"
license = "Zlib OR Apache-2.0 OR MIT"
exclude = ["/pedantic.bat"]
[features]
derive = ["bytemuck_derive"]
extern_crate_alloc = []
extern_crate_std = ["extern_crate_alloc"]
zeroable_maybe_uninit = []
zeroable_atomics = []
align_offset = []
min_const_generics = []
wasm_simd = []
aarch64_simd = []
must_cast = []
const_zeroed = []
unsound_ptr_pod_impl = []
latest_stable_rust = [
"aarch64_simd",
"align_offset",
"const_zeroed",
"derive",
"min_const_generics",
"must_cast",
"wasm_simd",
"zeroable_atomics",
"zeroable_maybe_uninit",
]
nightly_portable_simd = []
nightly_stdsimd = []
nightly_float = []
nightly_docs = []
[dependencies]
bytemuck_derive = { version = "1.4", path = "derive", optional = true }
[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(target_arch, values("spirv"))'] }
[package.metadata.docs.rs]
features = [
"nightly_docs",
"latest_stable_rust",
"extern_crate_alloc",
"extern_crate_std",
]
[package.metadata.playground]
features = [
"latest_stable_rust",
"extern_crate_alloc",
"extern_crate_std",
]