Cargo Features

[dependencies]
tui-rule = { version = "0.1.1", default-features = false, features = ["all", "utils", "true"] }
default = all

The all feature is set by default whenever tui-rule is added without default-features = false somewhere in the dependency tree.

all default = crossterm, serde, utils

Affects tui-rule::Rule

utils all

Affects tui-rule::macros.gen_main, tui-rule::macros.gen_example_code, tui-rule::macros.gen_run, tui-rule::macros.gen_use

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.

crossterm all
serde all
true implicit feature

Enables true

true:

Test