Cargo Features

[dependencies]
ptouch = { version = "0.2.2", default-features = false, features = ["util", "preview"] }
default = preview, util

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

util default = serde, structopt, strum, toml

Required by the ptouch-util binary

preview default = embedded-graphics-simulator

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.

structopt util
strum util

Enables strum ^0.24.0

embedded-graphics-simulator preview

Enables embedded-graphics-simulator ^0.2.0

TODO: make preview optional

serde util
toml util

Enables toml ^0.5.8