Cargo Features

[dependencies]
peekable = { version = "0.2.4", default-features = false, features = ["future", "tokio", "smallvec"] }
default = smallvec

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

future = futures-util, pin-project-lite

Affects peekable::future

tokio = bytes, pin-project-lite

Enables tokio

Affects peekable::tokio

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

smallvec default

Affects peekable::Buffer

futures-util future?
pin-project-lite future? tokio?
bytes tokio?