Cargo Features

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

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

std default

Enables std of musli ^0.0.117, musli-storage, 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, musli-storage, and musli-utils

Affects encoding::to_vec

simdutf8 default

Enables simdutf8

test

Affects musli-wire::test