Cargo Features

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

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

std default

Enables std of musli ^0.0.117, musli-storage, and musli-utils

alloc default

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

Affects en::SomeValueWriter, en::SequenceValueEncoder, en::PackValueEncoder, en::MapValueEncoder, en::PairValueEncoder, en::VariantValueEncoder, en::VariantSequenceEncoder, en::VariantStructEncoder

test