Cargo Features

[dependencies]
cyt3bb = { 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 cyt3bb is added without default-features = false somewhere in the dependency tree.

rev_a = cyt3bb_a
rev_b default = cyt3bb_b
rt

Enables rt of optional cyt3bb_a and optional cyt3bb_b

critical-section

Enables critical-section of optional cyt3bb_a and optional cyt3bb_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.

cyt3bb_a rev_a?
cyt3bb_b rev_b