Cargo Features

st7789v = { version = "0.1.2", default-features = false, features = ["graphics"] }
default = graphics

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

graphics default = embedded-graphics

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

embedded-graphics graphics

Enables embedded-graphics ^0.6.2