Cargo Features

[dependencies]
freya = { version = "0.3.0-rc.0", default-features = false, features = ["custom-tokio-rt", "skia", "hot-reload", "tracing-subscriber", "devtools", "use_camera", "mocked-engine-development", "performance-overlay", "fade-cached-incremental-areas", "disable-zoom-shortcuts", "docs"] }
custom-tokio-rt
skia default

Enables skia-engine of freya-engine

hot-reload

Enables hot-reload of dioxus ^0.5 and freya-renderer

tracing-subscriber

Enables 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 = skia

The skia feature is set by default whenever freya is added without default-features = false somewhere in the dependency tree.

performance-overlay
fade-cached-incremental-areas

Enables fade-cached-incremental-areas of freya-core

disable-zoom-shortcuts

Enables disable-zoom-shortcuts of freya-renderer

docs

Enables dioxus-i18n, dioxus-router ^0.5, and freya-testing