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"
14rust-version = "1.60.0"
15name = "zerocopy"
16version = "0.7.35"
17authors = ["Joshua Liebow-Feeser <[email protected]>"]
18exclude = [".*"]
19description = "Utilities for zero-copy parsing and serialization"
20readme = "README.md"
21keywords = [
22    "cast",
23    "convert",
24    "transmute",
25    "transmutation",
26    "type-punning",
27]
28categories = [
29    "embedded",
30    "encoding",
31    "no-std::no-alloc",
32    "parsing",
33    "rust-patterns",
34]
35license = "BSD-2-Clause OR Apache-2.0 OR MIT"
36repository = "https://github.com/google/zerocopy"
37
38[package.metadata.ci]
39pinned-nightly = "nightly-2024-06-19"
40pinned-stable = "1.79.0"
41
42[package.metadata.docs.rs]
43all-features = true
44rustdoc-args = [
45    "--cfg",
46    "doc_cfg",
47    "--generate-link-to-definition",
48]
49
50[package.metadata.playground]
51features = ["__internal_use_only_features_that_work_on_stable"]
52
53[dependencies.byteorder]
54version = "1.3"
55optional = true
56default-features = false
57
58[dependencies.zerocopy-derive]
59version = "=0.7.35"
60optional = true
61
62[dev-dependencies.assert_matches]
63version = "1.5"
64
65[dev-dependencies.elain]
66version = "0.3.0"
67
68[dev-dependencies.itertools]
69version = "0.11"
70
71[dev-dependencies.rand]
72version = "0.8.5"
73features = ["small_rng"]
74
75[dev-dependencies.rustversion]
76version = "1.0"
77
78[dev-dependencies.static_assertions]
79version = "1.1"
80
81[dev-dependencies.trybuild]
82version = "=1.0.85"
83features = ["diff"]
84
85[dev-dependencies.zerocopy-derive]
86version = "=0.7.35"
87
88[features]
89__internal_use_only_features_that_work_on_stable = [
90    "alloc",
91    "derive",
92    "simd",
93]
94alloc = []
95default = ["byteorder"]
96derive = ["zerocopy-derive"]
97simd = []
98simd-nightly = ["simd"]
99
100[target."cfg(any())".dependencies.zerocopy-derive]
101version = "=0.7.35"
102