Cargo Features

[dependencies]
mipidsi = { version = "0.7.1", default-features = false, features = ["batch"] }
default = batch

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

batch default = heapless

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

heapless batch

Enables heapless ^0.7.16