Cargo Features

[dependencies]
ribir = { version = "0.3.0-alpha.5", default-features = false, features = ["material", "png", "wgpu", "widgets", "tokio-async", "nightly"] }
default = material, wgpu, widgets

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

material default = ribir_material
png

Enables png of ribir_core

wgpu default

Enables wgpu ^0.19.3, wgpu of ribir_gpu

widgets default = ribir_widgets
tokio-async

Enables tokio-async of ribir_core

nightly

Enables nightly of ribir_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.

ribir_material material
ribir_widgets widgets