Cargo Features

[dependencies]
pixels-graphics-lib = { version = "0.19.0", default-features = false, features = ["window_prefs", "controller", "sound", "file_dialogs", "controller_xinput", "images", "serde", "mint", "scenes", "embedded", "notosans"] }
default = scenes, serde, sound, window_prefs

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

window_prefs default scenes = serde

Enables prefs of simple-game-utils

Affects pixels-graphics-lib::window_prefs, pixels-graphics-lib::System.window_prefs

controller = serde

Enables controller of simple-game-utils

Affects scenes::Scene.render, scenes::Scene.update, scenes::PrePost.pre_render, scenes::PrePost.post_render, scenes::PrePost.pre_update, scenes::PrePost.post_update, scenes::empty_pre_post

sound default

Enables sound of simple-game-utils

file_dialogs = directories
controller_xinput = serde

Enables controller_xinput of simple-game-utils

Affects scenes::Scene.render, scenes::Scene.update, scenes::PrePost.pre_render, scenes::PrePost.post_render, scenes::PrePost.pre_update, scenes::PrePost.post_update, scenes::empty_pre_post

images

Enables image_loading of buffer-graphics-lib

serde default controller? controller_xinput? window_prefs

Enables serde, serde of buffer-graphics-lib, serde of simple-game-utils and winit ^0.29.15

mint

Enables mint of buffer-graphics-lib

scenes default = window_prefs

Affects pixels-graphics-lib::scenes

embedded

Enables embedded of buffer-graphics-lib

notosans

Enables notosans of buffer-graphics-lib

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 file_dialogs?

Affects dialogs::load_file_dialog, dialogs::save_file_dialog