Cargo Features

ZeroVec has no features set by default.

[dependencies]
zerovec = { version = "0.10.4", features = ["std", "derive", "hashmap", "yoke", "serde", "databake", "bench"] }
std
derive

Enables zerovec-derive

hashmap

Enables twox-hash ^1.4.2

Affects zerovec::hashmap

yoke

Enables yoke

Special dep for yoke: avoid non-breaking zerovec bumps requiring breaking yoke bumps Can be reset on next zerovec breaking if necessary

This effectively stands for the range ~0.6 OR ~0.7, i.e. it supports all 0.6 versions and all 0.7 versions, but not further.

serde bench?

Enables serde

databake bench?

Enables databake

bench = databake, serde