Cargo Features

[dependencies]
bytecheck = { version = "0.8.0-pre6", default-features = false, features = ["std", "simdutf8", "uuid"] }
default = simdutf8, std

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

std default

Enables std of ptr_meta, rancor, and optional simdutf8

simdutf8:

enable CPU feature detection, on by default, turn off for no-std support

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.

simdutf8 default
uuid implicit feature

Enables uuid

Support for various common crates. These are primarily to get users off the ground and build some momentum.

These are NOT PLANNED to remain in bytecheck for the final release. Much like serde, these implementations should be moved into their respective crates over time. Before adding support for another crate, please consider getting bytecheck support in the crate instead.

Affects bytecheck::uuid