Cargo Features
[dependencies]
neocogi = { version = "0.2.0", default-features = false, features = ["renderer", "ui", "with-fonts", "scene"] }
- default = renderer, scene, ui, with-fonts
-
These default features are set whenever
neocogi
is added without
somewhere in the dependency tree.default-features = false - renderer default scene ui
-
Affects
neocogi::renderer
… - ui default with-fonts = egui, glfw, renderer
-
Affects
neocogi::ui
,neocogi::egui
… - with-fonts default = ui
-
Enables default_fonts of egui ^0.18.1
egui:
If set, egui will use
include_bytes!
to bundle some fonts. If you plan on specifying your own fonts you may disable this feature. - scene default = renderer
-
Affects
neocogi::scene
…
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.
- glfw ui
-
Enables glfw ^0.45.0
- egui ui with-fonts
-
Enables egui ^0.18.1