Cargo Features
[dependencies]
ori = { version = "0.1.0-alpha.1", default-features = false, features = ["wgpu", "winit"] }
- default = wgpu, winit
-
These default features are set whenever
ori
is added without
somewhere in the dependency tree.default-features = false - wgpu default = ori-wgpu
- winit default = ori-winit
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.