Cargo Features
[dependencies]
notan = { version = "0.12.1", 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
somewhere in the dependency tree.default-features = false - 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
- links
-
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. These features may have been created by mistake, and this functionality may be removed in the future.