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