Cargo Features

[dependencies]
poly_it = { version = "0.2.2", default-features = false, features = ["alloc", "serde", "tinyvec", "arrayvec", "smallvec"] }
default = alloc

The alloc feature is set by default whenever poly_it is added without default-features = false somewhere in the dependency tree.

alloc default smallvec?

Enables alloc of optional tinyvec

tinyvec:

Provide things that utilize the alloc crate, namely TinyVec.

Affects poly_it::Polynomial, storage::vec, storage::tinyvec.TinyVecStorage

serde

Enables serde

tinyvec

Enables tinyvec

Affects storage::tinyvec

arrayvec

Enables arrayvec

Affects storage::arrayvec

smallvec = alloc

Enables smallvec

Affects storage::smallvec