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

zerocopy:

Utilities for zero-copy parsing and serialization