[package]
edition = "2021"
rust-version = "1.71"
name = "ghost"
version = "0.1.21"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Define your own PhantomData"
documentation = "https://docs.rs/ghost"
readme = "README.md"
categories = [
"rust-patterns",
"no-std",
"no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/ghost"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--generate-link-to-definition",
"--generate-macro-expansion",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
"--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
]
[lib]
name = "ghost"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "autotraits"
path = "tests/autotraits.rs"
[[test]]
name = "compiletest"
path = "tests/compiletest.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[dependencies.proc-macro2]
version = "1.0.74"
[dependencies.quote]
version = "1.0.35"
[dependencies.syn]
version = "2.0.46"
[dev-dependencies.rustversion]
version = "1.0.13"
[dev-dependencies.trybuild]
version = "1.0.114"
features = ["diff"]