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