Cargo Features

[dependencies]
eframe_tao = { version = "0.23.0", default-features = false, features = ["default_fonts", "glow", "persistence", "puffin", "web_screen_reader", "document-features", "pollster", "raw-window-handle"] }
default = default_fonts, glow

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

default_fonts default

Enables default_fonts of egui ^0.22.0

egui:

If set, egui will use include_bytes! to bundle some fonts. If you plan on specifying your own fonts you may disable this feature.

glow default

Enables egui_glow_tao, glow ^0.12, glutin ^0.30, and glutin_tao

Affects epi::CreationContext.gl, epi::App.on_exit, epi::NativeOptions.shader_version, epi::WebOptions.webgl_context_option, epi::NativeOptions.renderer, epi::Renderer, eframe_tao::run_native, eframe_tao::run_simple_native

persistence = directories-next, ron, serde

Enables serde of egui-tao and persistence of egui ^0.22.0

egui:

Enable persistence of memory (window positions etc).

Affects native::file_storage, storage::load_memory, storage::save_memory

puffin

Enables puffin ^0.15, puffin of optional egui_glow_tao

web_screen_reader = tts

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.

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml

ron persistence?

Affects epi::get_value, epi::set_value

serde persistence?
pollster not wasm32 implicit feature

Enables pollster ^0.3

pollster:

Synchronously block the thread until a future completes

raw-window-handle wasm32 implicit feature

Enables raw-window-handle ^0.5.2

raw-window-handle:

Interoperability library for Rust Windowing applications

directories-next not wasm32 persistence?
tts wasm32 web_screen_reader?

Enables tts ^0.25