Debian Codegraph @

third_party/rust/bytemuck/Cargo.toml

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