Cargo Features

[dependencies]
cyt4bb = { version = "0.0.1", default-features = false, features = ["rev_a", "rev_b", "rt", "critical-section"] }
default = rev_b

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

rev_a = cyt4bb_a
rev_b default = cyt4bb_b
rt

Enables rt of optional cyt4bb_a and optional cyt4bb_b

critical-section

Enables critical-section of optional cyt4bb_a and optional cyt4bb_b

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.

cyt4bb_a rev_a?
cyt4bb_b rev_b