Cargo Features

[dependencies]
anybytes = { version = "0.10.0-alpha.1", default-features = false, features = ["bytes", "ownedbytes", "mmap", "zerocopy"] }
default = mmap, zerocopy

These default features are set whenever anybytes is added without default-features = false somewhere in the dependency tree.

bytes

Enables bytes

ownedbytes

Enables ownedbytes

mmap default

Enables memmap2

zerocopy default

Enables zerocopy ^0.7.35

Affects anybytes::packed