[dependencies.bytemuck_derive]
optional = true
version = "1.4"
[features]
aarch64_simd = []
align_offset = []
alloc_uninit = []
const_zeroed = []
derive = ["bytemuck_derive"]
extern_crate_alloc = []
extern_crate_std = ["extern_crate_alloc"]
latest_stable_rust = ["aarch64_simd", "align_offset", "alloc_uninit", "const_zeroed", "derive", "min_const_generics", "must_cast", "track_caller", "wasm_simd", "zeroable_atomics", "zeroable_maybe_uninit"]
min_const_generics = []
must_cast = []
nightly_docs = []
nightly_float = []
nightly_portable_simd = []
nightly_stdsimd = []
track_caller = []
transparentwrapper_extra = []
unsound_ptr_pod_impl = []
wasm_simd = []
zeroable_atomics = []
zeroable_maybe_uninit = []
[lib]
name = "bytemuck"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(target_arch, values("spirv"))']
level = "deny"
priority = 0
[package]
authors = ["Lokathor <zefria@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["encoding", "no-std"]
description = "A crate for mucking around with piles of bytes."
edition = "2018"
exclude = ["/pedantic.bat"]
keywords = ["transmute", "bytes", "casting"]
license = "Zlib OR Apache-2.0 OR MIT"
name = "bytemuck"
readme = "README.md"
repository = "https://github.com/Lokathor/bytemuck"
version = "1.20.0"
[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"]
[[test]]
name = "array_tests"
path = "tests/array_tests.rs"
[[test]]
name = "cast_slice_tests"
path = "tests/cast_slice_tests.rs"
[[test]]
name = "checked_tests"
path = "tests/checked_tests.rs"
[[test]]
name = "derive"
path = "tests/derive.rs"
[[test]]
name = "doc_tests"
path = "tests/doc_tests.rs"
[[test]]
name = "offset_of_tests"
path = "tests/offset_of_tests.rs"
[[test]]
name = "std_tests"
path = "tests/std_tests.rs"
[[test]]
name = "transparent"
path = "tests/transparent.rs"
[[test]]
name = "wrapper_forgets"
path = "tests/wrapper_forgets.rs"