Cargo Features
[dependencies]
ribir = { version = "0.4.0-alpha.14", default-features = false, features = ["material", "png", "wgpu", "widgets", "tokio-async", "nightly"] }
- default = material, png, wgpu, widgets
-
These default features are set whenever
ribir
is added without
somewhere in the dependency tree.default-features = false - material default = ribir_material
- png default
-
Enables png of ribir_core
- wgpu default
-
Enables wgpu ^0.20.0, 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.