Cargo Features

[dependencies]
pickled = { version = "1.2.0", default-features = false, features = ["variantly", "criterion-bench"] }
default = variantly

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

variantly default

Enables variantly

criterion-bench = criterion

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.

criterion criterion-bench?

Enables criterion ^0.3.5