# 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.56"
name = "ref-cast"
version = "1.0.18"
authors = ["David Tolnay <dtolnay@gmail.com>"]
description = "Safely cast &T to &U where the struct U contains a single field of type T."
documentation = "https://docs.rs/ref-cast"
readme = "README.md"
categories = [
    "rust-patterns",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/ref-cast"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
doc-scrape-examples = false

[dependencies.ref-cast-impl]
version = "=1.0.18"

[dev-dependencies.ref-cast-test-suite]
version = "0"

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

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