128 lines
2.8 KiB
TOML
128 lines
2.8 KiB
TOML
# 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 = "2021"
|
|
rust-version = "1.56.0"
|
|
name = "zerocopy"
|
|
version = "0.8.27"
|
|
authors = [
|
|
"Joshua Liebow-Feeser <joshlf@google.com>",
|
|
"Jack Wrenn <jswrenn@amazon.com>",
|
|
]
|
|
build = "build.rs"
|
|
exclude = [".*"]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to."""
|
|
readme = "README.md"
|
|
keywords = [
|
|
"cast",
|
|
"convert",
|
|
"transmute",
|
|
"transmutation",
|
|
"type-punning",
|
|
]
|
|
categories = [
|
|
"embedded",
|
|
"encoding",
|
|
"no-std::no-alloc",
|
|
"parsing",
|
|
"rust-patterns",
|
|
]
|
|
license = "BSD-2-Clause OR Apache-2.0 OR MIT"
|
|
repository = "https://github.com/google/zerocopy"
|
|
|
|
[package.metadata.build-rs]
|
|
zerocopy-core-error-1-81-0 = "1.81.0"
|
|
zerocopy-diagnostic-on-unimplemented-1-78-0 = "1.78.0"
|
|
zerocopy-generic-bounds-in-const-fn-1-61-0 = "1.61.0"
|
|
zerocopy-target-has-atomics-1-60-0 = "1.60.0"
|
|
zerocopy-aarch64-simd-1-59-0 = "1.59.0"
|
|
zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
|
|
|
|
[package.metadata.ci]
|
|
pinned-stable = "1.89.0"
|
|
pinned-nightly = "nightly-2025-09-05"
|
|
|
|
[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"]
|
|
|
|
[features]
|
|
__internal_use_only_features_that_work_on_stable = [
|
|
"alloc",
|
|
"derive",
|
|
"simd",
|
|
"std",
|
|
]
|
|
alloc = []
|
|
derive = ["zerocopy-derive"]
|
|
float-nightly = []
|
|
simd = []
|
|
simd-nightly = ["simd"]
|
|
std = ["alloc"]
|
|
|
|
[lib]
|
|
name = "zerocopy"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "trybuild"
|
|
path = "tests/trybuild.rs"
|
|
|
|
[dependencies.zerocopy-derive]
|
|
version = "=0.8.27"
|
|
optional = true
|
|
|
|
[dev-dependencies.either]
|
|
version = "=1.13.0"
|
|
|
|
[dev-dependencies.elain]
|
|
version = "0.3.0"
|
|
|
|
[dev-dependencies.glob]
|
|
version = "=0.3.2"
|
|
|
|
[dev-dependencies.itertools]
|
|
version = "0.11"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8.5"
|
|
features = ["small_rng"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.rustversion]
|
|
version = "1.0"
|
|
|
|
[dev-dependencies.static_assertions]
|
|
version = "1.1"
|
|
|
|
[dev-dependencies.trybuild]
|
|
version = "=1.0.89"
|
|
features = ["diff"]
|
|
|
|
[dev-dependencies.zerocopy-derive]
|
|
version = "=0.8.27"
|
|
|
|
[target."cfg(any())".dependencies.zerocopy-derive]
|
|
version = "=0.8.27"
|