Cargo Features

[dependencies]
redshirt = { version = "0.1.3", default-features = false, features = ["redshirt1", "redshirt2"] }
default = redshirt1, redshirt2

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

redshirt1 default

Affects redshirt::v1

redshirt2 default = ring

Affects redshirt::v2

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.

ring redshirt2

Enables ring ^0.16.0