-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
29 lines (24 loc) · 854 Bytes
/
Cargo.toml
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
[package]
name = "ref-cast"
version = "1.0.23"
authors = ["David Tolnay <[email protected]>"]
categories = ["rust-patterns", "no-std", "no-std::no-alloc"]
description = "Safely cast &T to &U where the struct U contains a single field of type T."
documentation = "https://docs.rs/ref-cast"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/ref-cast"
rust-version = "1.56"
[dependencies]
ref-cast-impl = { version = "=1.0.23", path = "derive" }
[dev-dependencies]
ref-cast-test-suite = { version = "0", path = "tests/helper" }
rustversion = "1.0.13"
trybuild = { version = "1.0.81", features = ["diff"] }
[workspace]
members = ["derive", "tests/helper"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]
[patch.crates-io]
ref-cast = { path = "." }