Cargo Features

epi has no features set by default.

[dependencies]
epi = { version = "0.17.0", features = ["file_storage", "persistence"] }
file_storage = directories-next, ron, serde

Enable the file_storage module for storing data to disk.

Affects epi::file_storage

persistence = ron, serde

Persist native window options and egui memory

Enables persistence of egui ^0.17.0

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.

directories-next file_storage?
ron file_storage? persistence?

Enables ron ^0.7

Affects epi::get_value, epi::set_value

serde file_storage? persistence?