Cargo Features
[dependencies]
mitsein = { version = "0.6.1", default-features = false, features = ["std", "alloc", "arrayvec", "indexmap", "itertools", "rayon", "serde", "smallvec", "arbitrary"] }
- default = std
-
The
std
feature is set by default whenevermitsein
is added without
somewhere in the dependency tree.default-features = false - std default arbitrary? rayon? = alloc
-
Enables std of optional indexmap, use_std of optional itertools, write of optional smallvec and std of optional serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
index_map1::IndexMap1
,index_set1::IndexSet1
… - alloc indexmap? smallvec? std
-
Enables use_alloc of optional itertools and alloc of optional serde
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
Affects
array1::Array1.into_arc_slice1
,array1::Array1.into_vec1
,range::ordered_range_bounds
,serde::harness.map
… - arrayvec
-
Enables arrayvec
Affects
safety::ArrayVecExt
… - indexmap = alloc
-
Enables indexmap
- itertools
-
Enables itertools
Affects
iter1::MinMax
… - rayon = std
-
Enables rayon, rayon of optional indexmap
Affects
iter1::FromParallelIterator1
,iter1::IntoParallelIterator1
,iter1::ParallelIterator1
… - serde
-
Enables serde and serde_derive, serde of optional smallvec, serde of optional arrayvec and optional indexmap
- smallvec = alloc
-
Enables smallvec
- arbitrary = std