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