Cargo Features

expander = { version = "2.2.1", default-features = false, features = ["syndicate", "pretty"] }
default = pretty, syndicate

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

syndicate default = syn
pretty default = prettyplease

Enables full and parsing of syn

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.

syn pretty syndicate
prettyplease pretty