| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "bytemuck" |
| 15 |
version = "1.21.0" |
| 16 |
authors = ["Lokathor <[email protected]>"] |
| 17 |
build = false |
| 18 |
exclude = ["/pedantic.bat"] |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "A crate for mucking around with piles of bytes." |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"transmute", |
| 27 |
"bytes", |
| 28 |
"casting", |
| 29 |
] |
| 30 |
categories = [ |
| 31 |
"encoding", |
| 32 |
"no-std", |
| 33 |
] |
| 34 |
license = "Zlib OR Apache-2.0 OR MIT" |
| 35 |
repository = "https://github.com/Lokathor/bytemuck" |
| 36 |
|
| 37 |
[package.metadata.docs.rs] |
| 38 |
features = [ |
| 39 |
"nightly_docs", |
| 40 |
"latest_stable_rust", |
| 41 |
"extern_crate_alloc", |
| 42 |
"extern_crate_std", |
| 43 |
] |
| 44 |
|
| 45 |
[package.metadata.playground] |
| 46 |
features = [ |
| 47 |
"latest_stable_rust", |
| 48 |
"extern_crate_alloc", |
| 49 |
"extern_crate_std", |
| 50 |
] |
| 51 |
|
| 52 |
[lib] |
| 53 |
name = "bytemuck" |
| 54 |
path = "src/lib.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "array_tests" |
| 58 |
path = "tests/array_tests.rs" |
| 59 |
|
| 60 |
[[test]] |
| 61 |
name = "cast_slice_tests" |
| 62 |
path = "tests/cast_slice_tests.rs" |
| 63 |
|
| 64 |
[[test]] |
| 65 |
name = "checked_tests" |
| 66 |
path = "tests/checked_tests.rs" |
| 67 |
|
| 68 |
[[test]] |
| 69 |
name = "derive" |
| 70 |
path = "tests/derive.rs" |
| 71 |
|
| 72 |
[[test]] |
| 73 |
name = "doc_tests" |
| 74 |
path = "tests/doc_tests.rs" |
| 75 |
|
| 76 |
[[test]] |
| 77 |
name = "offset_of_tests" |
| 78 |
path = "tests/offset_of_tests.rs" |
| 79 |
|
| 80 |
[[test]] |
| 81 |
name = "std_tests" |
| 82 |
path = "tests/std_tests.rs" |
| 83 |
|
| 84 |
[[test]] |
| 85 |
name = "transparent" |
| 86 |
path = "tests/transparent.rs" |
| 87 |
|
| 88 |
[[test]] |
| 89 |
name = "wrapper_forgets" |
| 90 |
path = "tests/wrapper_forgets.rs" |
| 91 |
|
| 92 |
[dependencies.bytemuck_derive] |
| 93 |
version = "1.4" |
| 94 |
optional = true |
| 95 |
|
| 96 |
[features] |
| 97 |
aarch64_simd = [] |
| 98 |
align_offset = [] |
| 99 |
alloc_uninit = [] |
| 100 |
avx512_simd = [] |
| 101 |
const_zeroed = [] |
| 102 |
derive = ["bytemuck_derive"] |
| 103 |
extern_crate_alloc = [] |
| 104 |
extern_crate_std = ["extern_crate_alloc"] |
| 105 |
latest_stable_rust = [ |
| 106 |
"aarch64_simd", |
| 107 |
"avx512_simd", |
| 108 |
"align_offset", |
| 109 |
"alloc_uninit", |
| 110 |
"const_zeroed", |
| 111 |
"derive", |
| 112 |
"min_const_generics", |
| 113 |
"must_cast", |
| 114 |
"must_cast_extra", |
| 115 |
"track_caller", |
| 116 |
"transparentwrapper_extra", |
| 117 |
"wasm_simd", |
| 118 |
"zeroable_atomics", |
| 119 |
"zeroable_maybe_uninit", |
| 120 |
] |
| 121 |
min_const_generics = [] |
| 122 |
must_cast = [] |
| 123 |
must_cast_extra = ["must_cast"] |
| 124 |
nightly_docs = [] |
| 125 |
nightly_float = [] |
| 126 |
nightly_portable_simd = [] |
| 127 |
nightly_stdsimd = [] |
| 128 |
track_caller = [] |
| 129 |
transparentwrapper_extra = [] |
| 130 |
unsound_ptr_pod_impl = [] |
| 131 |
wasm_simd = [] |
| 132 |
zeroable_atomics = [] |
| 133 |
zeroable_maybe_uninit = [] |
| 134 |
|
| 135 |
[lints.rust.unexpected_cfgs] |
| 136 |
level = "deny" |
| 137 |
priority = 0 |
| 138 |
check-cfg = ['cfg(target_arch, values("spirv"))'] |