Cargo Features

[dependencies]
chuot = { version = "0.0.1", default-features = false, features = ["embed-assets", "hot-reload-assets", "dialogue", "x11", "in-game-profiler"] }
default = dialogue, hot-reload-assets, in-game-profiler

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

embed-assets

Embed all assets into the binary.

If disabled loads all assets from disk. Mutually exclusive from hot-reload-assets.

Enables embed-assets of chuot-macros

Affects assets::embedded

hot-reload-assets default

Enable assets and hot-reload assets from disk when they are saved.

Has no effect when building for the web. Mutually exclusive from embed-assets.

Enables hot-reload-assets of chuot-macros

dialogue default

Integrate Yarn Spinner, a friendly DSL for writing dialogue.

Enables yarnspinner

dialogue feature

Affects chuot::dialogue

x11

Build for X11, only applicable on desktop.

Wayland is always enabled.

Enables x11 of winit ^0.29.15

in-game-profiler default

Show an in-game profiler

Enables puffin, puffin_egui, and stats_alloc, profile-with-puffin of profiling and egui, egui-wgpu, and egui-winit

egui:

in-game-profiler feature