Cargo Features

cl-aux has no features set by default.

[dependencies]
cl-aux = { version = "4.4.0", features = ["std", "alloc", "arrayvec", "serde", "smallvec", "tinyvec"] }
std = alloc

Enables alloc of optional tinyvec

tinyvec:

Provide things that utilize the alloc crate, namely TinyVec.

Affects doc_tests::hash_map, doc_tests::hash_set

alloc std?

Affects doc_tests::b_tree_map, doc_tests::b_tree_set, doc_tests::string, doc_tests::vec, doc_tests::tiny_vec_tiny_vec

Features from optional dependencies

arrayvec implicit feature

Affects doc_tests::array_string, doc_tests::array_vec

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack

Affects doc_tests::small_vec

tinyvec implicit feature

Enables tinyvec

tinyvec:

tinyvec provides 100% safe vec-like data structures

Affects doc_tests::tiny_vec_array_vec, doc_tests::tiny_vec_tiny_vec