Cargo Features

[dependencies]
egui_cosmic_text = { version = "0.2.0", default-features = false, features = ["widget", "shape-run-cache"] }
default = widget

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

widget default = cosmic_undo_2

Affects egui_cosmic_text::widget

shape-run-cache

Enables shape-run-cache of cosmic-text

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.

cosmic_undo_2 widget