Cargo Features
[dependencies]
anybytes = { version = "0.14.0", default-features = false, features = ["bytes", "ownedbytes", "mmap", "zerocopy", "pyo3"] }
- default = mmap, zerocopy
-
These default features are set whenever
anybytes
is added without
somewhere in the dependency tree.default-features = false - bytes
-
Enables bytes
- ownedbytes
-
Enables ownedbytes
- mmap default
-
Enables memmap2
- zerocopy default
-
Enables zerocopy ^0.7.35
Affects
anybytes::packed
… - pyo3
-
Enables pyo3
Affects
anybytes::pybytes
…