Debian Codegraph @

.cargo/vendor/zerocopy/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 = "2021"
14 rust-version = "1.56.0"
15 name = "zerocopy"
16 version = "0.8.27"
17 authors = [
18 "Joshua Liebow-Feeser <[email protected]>",
19 "Jack Wrenn <[email protected]>",
20 ]
21 build = "build.rs"
22 exclude = [".*"]
23 autolib = false
24 autobins = false
25 autoexamples = false
26 autotests = false
27 autobenches = false
28 description = """Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to."""
29 readme = "README.md"
30 keywords = [
31 "cast",
32 "convert",
33 "transmute",
34 "transmutation",
35 "type-punning",
36 ]
37 categories = [
38 "embedded",
39 "encoding",
40 "no-std::no-alloc",
41 "parsing",
42 "rust-patterns",
43 ]
44 license = "BSD-2-Clause OR Apache-2.0 OR MIT"
45 repository = "https://github.com/google/zerocopy"
46
47 [package.metadata.build-rs]
48 zerocopy-core-error-1-81-0 = "1.81.0"
49 zerocopy-diagnostic-on-unimplemented-1-78-0 = "1.78.0"
50 zerocopy-generic-bounds-in-const-fn-1-61-0 = "1.61.0"
51 zerocopy-target-has-atomics-1-60-0 = "1.60.0"
52 zerocopy-aarch64-simd-1-59-0 = "1.59.0"
53 zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
54
55 [package.metadata.ci]
56 pinned-stable = "1.89.0"
57 pinned-nightly = "nightly-2025-09-05"
58
59 [package.metadata.docs.rs]
60 all-features = true
61 rustdoc-args = [
62 "--cfg",
63 "doc_cfg",
64 "--generate-link-to-definition",
65 ]
66
67 [package.metadata.playground]
68 features = ["__internal_use_only_features_that_work_on_stable"]
69
70 [features]
71 __internal_use_only_features_that_work_on_stable = [
72 "alloc",
73 "derive",
74 "simd",
75 "std",
76 ]
77 alloc = []
78 derive = ["zerocopy-derive"]
79 float-nightly = []
80 simd = []
81 simd-nightly = ["simd"]
82 std = ["alloc"]
83
84 [lib]
85 name = "zerocopy"
86 path = "src/lib.rs"
87
88 [[test]]
89 name = "trybuild"
90 path = "tests/trybuild.rs"
91
92 [dependencies.zerocopy-derive]
93 version = "=0.8.27"
94 optional = true
95
96 [dev-dependencies.either]
97 version = "=1.13.0"
98
99 [dev-dependencies.elain]
100 version = "0.3.0"
101
102 [dev-dependencies.glob]
103 version = "=0.3.2"
104
105 [dev-dependencies.itertools]
106 version = "0.11"
107
108 [dev-dependencies.rand]
109 version = "0.8.5"
110 features = ["small_rng"]
111 default-features = false
112
113 [dev-dependencies.rustversion]
114 version = "1.0"
115
116 [dev-dependencies.static_assertions]
117 version = "1.1"
118
119 [dev-dependencies.trybuild]
120 version = "=1.0.89"
121 features = ["diff"]
122
123 [dev-dependencies.zerocopy-derive]
124 version = "=0.8.27"
125
126 [target."cfg(any())".dependencies.zerocopy-derive]
127 version = "=0.8.27"