Cargo Features

[dependencies]
ptrplus = { version = "2.1.0", default-features = false, features = ["std", "alloc", "nightly"] }
default = std

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

std default = alloc

Enable implmentations for types in the std crate

alloc std

Enable implemenations for types in the alloc crate

nightly

Enable features that depend on experimental rustc features Currently unused