phantom-type

Crates.iophantom-type
lib.rsphantom-type
version0.5.2
sourcesrc
created_at2020-09-21 17:15:25.497064
updated_at2024-09-09 15:27:43.577655
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,836
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