Cargo Features

[dependencies]
bytes = { version = "1.9.0", default-features = false, features = ["std", "serde"] }
default = std

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

std default

Affects buf_impl::Buf.chunks_vectored, buf_impl::Buf.reader, buf_mut::BufMut.writer

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework