Cargo Features

[dependencies]
phantom-type = { version = "0.5.2", default-features = false, features = ["std"] }
default = std

The std feature is set by default whenever phantom-type is added without default-features = false somewhere in the dependency tree.

std default

disable to make the library #![no_std].