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 maycoon is added without default-features = false somewhere in the dependency tree.

macros default = maycoon-macros

Exports useful macros for working with maycoon.

canvas

Enables the Canvas widget 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 tokio runtime 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 vello vector 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.

maycoon-macros macros