Cargo Features

musli-descriptive = { version = "0.0.117", default-features = false, features = ["std", "alloc", "simdutf8", "test"] }
default = alloc, musli-value, simdutf8, std

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

std default

Enables std of musli ^0.0.117, musli-storage, musli-utils, optional musli-value, and optional simdutf8


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

Affects encoding::to_writer

alloc default

Enables alloc of musli ^0.0.117, musli-storage, musli-utils, and optional musli-value

Affects encoding::to_vec

simdutf8 default

Enables simdutf8

test = musli-value

Affects musli-descriptive::test

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.

musli-value default test?