| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "bytemuck" |
| 15 |
version = "1.24.0" |
| 16 |
authors = ["Lokathor <[email protected]>"] |
| 17 |
build = false |
| 18 |
exclude = [ |
| 19 |
"/pedantic.bat", |
| 20 |
"derive/", |
| 21 |
"contiguous_bitset/", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "A crate for mucking around with piles of bytes." |
| 29 |
readme = "README.md" |
| 30 |
keywords = [ |
| 31 |
"transmute", |
| 32 |
"bytes", |
| 33 |
"casting", |
| 34 |
] |
| 35 |
categories = [ |
| 36 |
"encoding", |
| 37 |
"no-std", |
| 38 |
] |
| 39 |
license = "Zlib OR Apache-2.0 OR MIT" |
| 40 |
repository = "https://github.com/Lokathor/bytemuck" |
| 41 |
|
| 42 |
[package.metadata.docs.rs] |
| 43 |
features = [ |
| 44 |
"nightly_docs", |
| 45 |
"latest_stable_rust", |
| 46 |
"extern_crate_alloc", |
| 47 |
"extern_crate_std", |
| 48 |
] |
| 49 |
|
| 50 |
[package.metadata.playground] |
| 51 |
features = [ |
| 52 |
"latest_stable_rust", |
| 53 |
"extern_crate_alloc", |
| 54 |
"extern_crate_std", |
| 55 |
] |
| 56 |
|
| 57 |
[features] |
| 58 |
aarch64_simd = [] |
| 59 |
align_offset = [] |
| 60 |
alloc_uninit = [] |
| 61 |
avx512_simd = [] |
| 62 |
const_zeroed = [] |
| 63 |
derive = ["bytemuck_derive"] |
| 64 |
extern_crate_alloc = [] |
| 65 |
extern_crate_std = ["extern_crate_alloc"] |
| 66 |
impl_core_error = [] |
| 67 |
latest_stable_rust = [ |
| 68 |
"aarch64_simd", |
| 69 |
"avx512_simd", |
| 70 |
"align_offset", |
| 71 |
"alloc_uninit", |
| 72 |
"const_zeroed", |
| 73 |
"derive", |
| 74 |
"impl_core_error", |
| 75 |
"min_const_generics", |
| 76 |
"must_cast", |
| 77 |
"must_cast_extra", |
| 78 |
"pod_saturating", |
| 79 |
"track_caller", |
| 80 |
"transparentwrapper_extra", |
| 81 |
"wasm_simd", |
| 82 |
"zeroable_atomics", |
| 83 |
"zeroable_maybe_uninit", |
| 84 |
"zeroable_unwind_fn", |
| 85 |
] |
| 86 |
min_const_generics = [] |
| 87 |
must_cast = [] |
| 88 |
must_cast_extra = ["must_cast"] |
| 89 |
nightly_docs = [] |
| 90 |
nightly_float = [] |
| 91 |
nightly_portable_simd = [] |
| 92 |
nightly_stdsimd = [] |
| 93 |
pod_saturating = [] |
| 94 |
track_caller = [] |
| 95 |
transparentwrapper_extra = [] |
| 96 |
unsound_ptr_pod_impl = [] |
| 97 |
wasm_simd = [] |
| 98 |
zeroable_atomics = [] |
| 99 |
zeroable_maybe_uninit = [] |
| 100 |
zeroable_unwind_fn = [] |
| 101 |
|
| 102 |
[lib] |
| 103 |
name = "bytemuck" |
| 104 |
path = "src/lib.rs" |
| 105 |
|
| 106 |
[[test]] |
| 107 |
name = "array_tests" |
| 108 |
path = "tests/array_tests.rs" |
| 109 |
|
| 110 |
[[test]] |
| 111 |
name = "cast_slice_tests" |
| 112 |
path = "tests/cast_slice_tests.rs" |
| 113 |
|
| 114 |
[[test]] |
| 115 |
name = "checked_tests" |
| 116 |
path = "tests/checked_tests.rs" |
| 117 |
|
| 118 |
[[test]] |
| 119 |
name = "derive" |
| 120 |
path = "tests/derive.rs" |
| 121 |
|
| 122 |
[[test]] |
| 123 |
name = "doc_tests" |
| 124 |
path = "tests/doc_tests.rs" |
| 125 |
|
| 126 |
[[test]] |
| 127 |
name = "offset_of_tests" |
| 128 |
path = "tests/offset_of_tests.rs" |
| 129 |
|
| 130 |
[[test]] |
| 131 |
name = "std_tests" |
| 132 |
path = "tests/std_tests.rs" |
| 133 |
|
| 134 |
[[test]] |
| 135 |
name = "transparent" |
| 136 |
path = "tests/transparent.rs" |
| 137 |
|
| 138 |
[[test]] |
| 139 |
name = "wrapper_forgets" |
| 140 |
path = "tests/wrapper_forgets.rs" |
| 141 |
|
| 142 |
[dependencies.bytemuck_derive] |
| 143 |
version = "1.10.2" |
| 144 |
optional = true |
| 145 |
|
| 146 |
[lints.rust.unexpected_cfgs] |
| 147 |
level = "deny" |
| 148 |
priority = 0 |
| 149 |
check-cfg = ['cfg(target_arch, values("spirv"))'] |