Cargo Features

[dependencies]
cackle = { version = "0.2.0", default-features = false, features = ["ui", "unsupported-os"] }
default = ui

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

ui default = crossterm, diff, ratatui, toml_edit

Enable the "ui" subcommand.

unsupported-os

Build even on an operating system that isn't yet supported. Enable this feature if you're working on porting.

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.

toml_edit ui

Enables toml_edit ^0.19.8

ratatui ui

Enables ratatui ^0.23.0

diff ui
crossterm ui