Cargo Features

[dependencies]
uninit = { version = "0.6.2", default-features = false, features = ["std", "alloc", "better-docs", "nightly", "specialization", "chain", "zerocopy"] }
default = std

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

std default = alloc

Affects uninit::read

alloc std
better-docs = nightly
nightly better-docs? specialization?
specialization = nightly
chain

Affects read::ReadIntoUninit.chain, read::chain

Features from optional dependencies

zerocopy implicit feature

Enables zerocopy >=0.1, <0.8

zerocopy:

Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.