Cargo Features
[dependencies]
cat_engine = { version = "1.0.0-alpha7", default-features = false, features = ["set_cursor_event", "wnd_proc_catch_panic", "audio", "extended_audio", "raw_audio", "simple_graphics", "texture_graphics", "text_graphics"] }
- default = simple_graphics, text_graphics, texture_graphics, wnd_proc_catch_panic
-
These default features are set whenever
cat_engine
is added without
somewhere in the dependency tree.default-features = false - set_cursor_event
-
Windows
Enables set_cursor_event of cat_engine_basement
Affects
windows::AppWindowProcedure.set_cursor
… - wnd_proc_catch_panic default
-
Enables wnd_proc_catch_panic of cat_engine_basement
Affects
windows::AppWindowProcedure.catch_panic
… - audio = cat_audio
-
AUDIO
- extended_audio
- raw_audio
- simple_graphics default
-
GRAPHICS
plain objectsAffects
graphics_2d::Graphics2DAttributes.simple_stack_vertices
,graphics_2d::Graphics2DAttributes.simple_stack_indices
,graphics_2d::Graphics2DAttributes.simple_stack_objects
,graphics_2d::Graphics2DAttributes.simple_heap_vertex_frames
,graphics_2d::Graphics2DAttributes.simple_heap_index_frames
,graphics_2d::Graphics2DAttributes.simple_heap_objects
,cat_engine::shapes
… - texture_graphics default
-
textures
Affects
graphics_2d::Graphics2DAttributes.texture_stack_vertices
,graphics_2d::Graphics2DAttributes.texture_stack_indices
,graphics_2d::Graphics2DAttributes.texture_stack_objects
,graphics_2d::Graphics2DAttributes.texture_heap_vertex_frames
,graphics_2d::Graphics2DAttributes.texture_heap_index_frames
,graphics_2d::Graphics2DAttributes.texture_heap_objects
,cat_engine::texture
… - text_graphics default = ab_glyph_rasterizer, ttf-parser
-
text
Affects
graphics_2d::Graphics2DAttributes.glyph_texture_size
,cat_engine::text
…
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.