Cargo Features

aoc-main has no features set by default.

[dependencies]
aoc-main = { version = "0.5.0", features = ["bench"] }
bench = criterion

Criterion is a quite heavy dependencies which will not be used in many cases.

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 bench?

Enables criterion ^0.4

Optional dependencies