phantom-type

Crates.iophantom-type
lib.rsphantom-type
version0.5.0
sourcesrc
created_at2020-09-21 17:15:25.497064
updated_at2024-03-13 20:35:52.508134
descriptionA `PhantomData` analog which prevents "parameter is never used" error, but does not produce any restrictions in contrast with `PhantomData`.
homepage
repositoryhttps://github.com/A1-Triard/phantom-type
max_upload_size
id291229
size5,693
Warlock (A1-Triard)

documentation

https://docs.rs/phantom-type/

README

maintenance: passively maintained

phantom-type

A PhantomData analog which prevents "parameter is never used" error, but does not produce any restrictions in contrast with PhantomData.

Optional no_std

If your crate has std feature, use the following method to specify phantom-type dependency:

[features]
default = ["std"]
std = ["phantom-type/std"]

[dependencies]
phantom-type = { version = "*", default-features = false }
Commit count: 26

cargo fmt