Cargo Features

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

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

std default

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

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 and musli-utils

Affects encoding::to_vec

simdutf8 default

Enables simdutf8

test

Affects musli-storage::test