Cargo Features

cl-traits has no features set by default.

[dependencies]
cl-traits = { version = "7.0.0", features = ["std", "alloc", "arrayvec", "gat", "serde", "smallvec", "staticvec", "tinyvec"] }
std = alloc

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

arrayvec

Enables arrayvec

Affects doc_tests::array_string, doc_tests::array_vec

gat
serde

Enables serde

smallvec

Enables smallvec

Affects doc_tests::small_vec

staticvec

Enables staticvec

Affects doc_tests::static_vec

tinyvec

Enables alloc of tinyvec

tinyvec:

Provide things that utilize the alloc crate, namely TinyVec.

Affects doc_tests::tiny_vec, doc_tests::tiny_vec_array_vec