Cargo Features

ribir_gpu = { version = "0.2.0-alpha.4", default-features = false, features = ["wgpu"] }
default = wgpu

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

wgpu default = futures

Enables wgpu ^0.17.1

Affects ribir_gpu::wgpu_impl

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

futures wgpu