Cargo Features

Freya has no features set by default.

[dependencies]
freya = { version = "0.2.2", features = ["hot-reload", "log", "devtools", "use_camera", "mocked-engine-development"] }
hot-reload

Enables hot-reload of dioxus and freya-renderer

log

Enables tracing and tracing-subscriber

devtools

Enables freya-devtools

use_camera

Enables use_camera of freya-hooks

mocked-engine-development

This is just for the CI

Enables mocked-engine of freya-engine

default

These default features are set whenever freya is added without default-features = false somewhere in the dependency tree.

Enables skia-engine of freya-engine