Cargo Features

[dependencies]
punchcard = { version = "0.10.5", default-features = false, features = ["stable", "debug", "generate_test_data", "nightly", "performant"] }
default = nightly, performant

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

stable = performant
debug = generate_test_data, nightly
generate_test_data debug? = rand

enables the generation of test data

Affects command::generate

nightly default debug?

Enables nightly of polars ^0.36.2

performant default stable?

Enables performant of polars ^0.36.2

polars:

slower builds

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.

rand generate_test_data?