Cargo Features

[dependencies]
notan = { version = "0.12.0", default-features = false, features = ["backend", "log", "glyph", "draw", "egui", "text", "extra", "audio", "links", "drop_files", "clipboard", "save_file", "texture_to_file", "random", "glsl-to-spirv", "shaderc", "serde"] }
default = backend, draw, glsl-to-spirv, log, random

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

backend default = notan_backend
log default = notan_log
glyph = notan_glyph
draw default = notan_draw
egui = notan_egui
text = notan_text
extra = notan_extra
audio = notan_audio

Enables audio of notan_app and optional notan_backend

Enables links of notan_app, optional notan_backend, and optional notan_egui

drop_files

Enables drop_files of notan_app, optional notan_backend, and optional notan_egui

clipboard

Enables clipboard of notan_app and optional notan_backend

save_file

Enables save_file of notan_utils

texture_to_file

Enables texture_to_file of notan_graphics

random default = notan_random
glsl-to-spirv default

Enables glsl-to-spirv of optional notan_draw, optional notan_egui, optional notan_glyph, notan_macro, and optional notan_text

shaderc

Enables shaderc of optional notan_draw, optional notan_egui, optional notan_glyph, notan_macro, and optional notan_text

serde

Enables serde of notan_app, notan_core, notan_graphics, notan_input, and notan_math

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

notan_log log
notan_glyph glyph?
notan_draw draw
notan_backend backend
notan_egui egui?
notan_text text?
notan_audio audio?
notan_extra extra?
notan_random random