Cargo Features

[dependencies]
docsearch = { version = "0.3.5", default-features = false, features = ["index-v1", "index-v2"] }
default = index-v1, index-v2

These default features are set whenever docsearch is added without default-features = false somewhere in the dependency tree.

index-v1 default = index-v2

Enables serde_tuple ^0.5.0 and winnow ^0.5.1

Affects error::IndexV1Error

index-v2 default index-v1

Enables serde_tuple ^0.5.0