summaryrefslogtreecommitdiffstats
path: root/third_party/rust/zerocopy/Cargo.toml
blob: 36c00b78e466b40172adbb2d318e89762049f8a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.60.0"
name = "zerocopy"
version = "0.7.32"
authors = ["Joshua Liebow-Feeser <joshlf@google.com>"]
exclude = [".*"]
description = "Utilities for zero-copy parsing and serialization"
readme = "README.md"
license = "BSD-2-Clause OR Apache-2.0 OR MIT"
repository = "https://github.com/google/zerocopy"

[package.metadata.ci]
pinned-nightly = "nightly-2023-12-05"
pinned-stable = "1.74.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "doc_cfg",
    "--generate-link-to-definition",
]

[package.metadata.playground]
features = ["__internal_use_only_features_that_work_on_stable"]

[dependencies.byteorder]
version = "1.3"
optional = true
default-features = false

[dependencies.zerocopy-derive]
version = "=0.7.32"
optional = true

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.elain]
version = "0.3.0"

[dev-dependencies.itertools]
version = "0.11"

[dev-dependencies.rand]
version = "0.8.5"
features = ["small_rng"]

[dev-dependencies.rustversion]
version = "1.0"

[dev-dependencies.static_assertions]
version = "1.1"

[dev-dependencies.trybuild]
version = "=1.0.85"
features = ["diff"]

[dev-dependencies.zerocopy-derive]
version = "=0.7.32"

[features]
__internal_use_only_features_that_work_on_stable = [
    "alloc",
    "derive",
    "simd",
]
alloc = []
default = ["byteorder"]
derive = ["zerocopy-derive"]
simd = []
simd-nightly = ["simd"]

[target."cfg(any())".dependencies.zerocopy-derive]
version = "=0.7.32"