Cargo Features
[dependencies]
musli-tests = { version = "0.0.26", default-features = false, features = ["std", "alloc", "full", "extra", "builtin", "text", "simdutf8", "parse-full", "musli-wire", "musli-descriptive", "musli-storage", "musli-json", "musli-value", "musli-zerocopy", "model_full", "model_minimal", "model_cstring", "model_map", "model_vec", "model_128", "model_tuple", "model_float", "model_map_string_key", "model_rkyv", "model_dlhn", "model_serde_cbor", "dlhn", "serde_json", "serde_cbor", "bincode", "rmp-serde", "serde", "rkyv", "postcard", "test"] }
- default = builtin, model_full, musli, musli-json, musli-value, std
-
These default features are set whenever
musli-tests
is added without
somewhere in the dependency tree.default-features = false - std default model_map? model_map_string_key? rkyv? serde? serde_json? = alloc
-
Enables std of musli ^0.0.72, optional musli-json ^0.0.72, optional musli-storage ^0.0.72, optional musli-wire ^0.0.72, optional musli-zerocopy ^0.0.72, rand, optional rkyv ^0.7.42, optional serde, and optional serde_json
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- alloc std
-
Enables musli ^0.0.72, optional musli-json ^0.0.72, optional musli-storage ^0.0.72, and optional musli-wire ^0.0.72
- full = bincode, musli-json, postcard, rmp-serde, serde_json
- extra = bitcode, dlhn, rkyv, serde_cbor
- builtin default = musli-descriptive, musli-storage, musli-wire
- text = musli-json, serde_json
- simdutf8
-
Enables simdutf8 of optional musli-descriptive ^0.0.72, optional musli-json ^0.0.72, optional musli-storage ^0.0.72, and optional musli-wire ^0.0.72
- parse-full
-
Enables parse-full of optional musli-json ^0.0.72
- musli-wire builtin test? = musli
-
Enables musli-wire ^0.0.72
Affects
musli-tests::wire
,utils::musli_wire
… - musli-descriptive builtin test? = musli
-
Enables musli-descriptive ^0.0.72
Affects
musli-tests::s
,utils::musli_descriptive
… - musli-storage builtin test? = musli
-
Enables musli-storage ^0.0.72
Affects
musli-tests::storage
,utils::musli_storage_packed
,utils::musli_storage
… - musli-json default full? text? = musli
-
Enables musli-json ^0.0.72
Affects
utils::musli_json
… - musli-value default = musli
-
Enables musli-value ^0.0.72
Affects
utils::musli_value
… - musli-zerocopy
-
Enables musli-zerocopy ^0.0.72
Affects
utils::musli_zerocopy
… - model_full default = model_128, model_cstring, model_float, model_map, model_map_string_key, model_tuple, model_usize, model_vec
- model_minimal = model_float, model_vec
- model_cstring model_bitcode? model_dlhn? model_full model_serde_cbor?
- model_map model_bitcode? model_full model_rkyv? model_serde_cbor? = std
- model_vec model_bitcode? model_dlhn? model_full model_minimal? model_rkyv? model_serde_cbor?
- model_128 model_full model_rkyv?
- model_usize model_tuple model_bitcode? model_dlhn? model_full model_serde_cbor?
- model_float model_bitcode? model_dlhn? model_full model_minimal? model_rkyv? model_serde_cbor?
- model_map_string_key model_bitcode? model_dlhn? model_full model_serde_cbor? = std
- model_rkyv = model_128, model_float, model_map, model_vec
- model_dlhn = model_cstring, model_float, model_map_string_key, model_tuple, model_usize, model_vec
- model_bitcode model_serde_cbor = model_cstring, model_float, model_map, model_map_string_key, model_tuple, model_usize, model_vec
- dlhn extra? = serde
-
Enables dlhn
Affects
extra::serde_dlhn
… - serde_json full? text? = serde, std
-
Enables serde_json
Affects
full::serde_json
… - serde_cbor extra? = serde
-
Enables serde_cbor
Affects
full::serde_cbor
… - bincode full? = serde
-
Enables bincode
Affects
full::serde_bincode
… - rmp-serde full? = serde
-
Enables rmp-serde
Affects
extra::serde_rmp
… - serde bincode? dlhn? postcard? rmp-serde? serde_cbor? serde_json? = std
-
Enables serde, serde of optional bitcode ^0.4.0
- rkyv extra? = std
-
Enables rkyv ^0.7.42
Affects
extra::rkyv
… - postcard full? = serde
-
Enables postcard
Affects
full::postcard
… - test = musli-descriptive, musli-storage, musli-wire
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 default alloc? musli-descriptive? musli-json musli-storage? musli-value musli-wire? std
-
Enables musli ^0.0.72
Affects
mode::Packed
… - bitcode extra?
-
Enables bitcode ^0.4.0
Affects
extra::serde_bitcode
,extra::derive_bitcode
…