Cargo Features

[dependencies]
sembas = { version = "0.3.0", default-features = false, features = ["all", "api", "global_search", "io", "surfacing", "metrics", "sps"] }
default all? = global_search, io, surfacing

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

all = api, default, metrics, sps
api all? = bytemuck

Affects sembas::api

Affects search::global_search

io default = serde, serde_json
surfacing default

Affects search::surfacing

metrics all?

Affects sembas::metrics

sps all?

Affects sembas::sps

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rand global_search
rand_chacha global_search
bytemuck api?
serde_json io
serde io