[package]
edition = "2018"
name = "ref-cast"
version = "0.2.7"
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"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/ref-cast"
[dependencies.ref-cast-impl]
version = "=0.2.7"
[dev-dependencies.rustversion]
version = "0.1"
[dev-dependencies.trybuild]
version = "1.0"
[badges.travis-ci]
repository = "dtolnay/ref-cast"