Cargo Features

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

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

std default = alloc

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


Use the standard library.

Affects encoding::to_writer

alloc default std

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

Affects encoding::to_vec, encoding::to_string

simdutf8 default

Enables simdutf8

parse-full default
test = musli-value

Affects musli-json::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?