Cargo Features
[dependencies]
maycoon = { version = "0.5.1", default-features = false, features = ["macros", "canvas", "dummy-runner", "tokio-runner", "svg", "vello-vg"] }
- default = macros, tokio-runner, vello-vg
-
These default features are set whenever
maycoonis added withoutsomewhere in the dependency tree.default-features = false - macros default = maycoon-macros
-
Exports useful macros for working with maycoon.
- canvas
-
Enables the
Canvaswidget for drawing to the screen.Enables canvas of maycoon-widgets
- dummy-runner
-
A dummy task runner. Can be used, when you don't want to specify a task runner, but still let the build script execute.
Enables dummy-runner of maycoon-core
- tokio-runner default
-
Use the
tokioruntime for running tasks inside a task runner.Enables tokio-runner of maycoon-core
- svg
-
Enables structures and widgets for working with SVGs.
Enables svg of maycoon-core and maycoon-widgets
- vello-vg default
-
Enables the
vellovector graphics backend.Enables vello-vg of maycoon-core
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.