Cargo Features
[dependencies]
ovr-sys = { version = "0.3.0", default-features = false, features = ["opengl", "directx", "vulkan", "audio"] }
- default = opengl
-
The
opengl
feature is set by default wheneverovr-sys
is added without
somewhere in the dependency tree.default-features = false - opengl default
-
Affects
ovr-sys::opengl
… - directx = winapi
-
Affects
ovr-sys::directx
… - vulkan = vks
-
Affects
ovr-sys::vulkan
… - audio = winapi
-
Affects
ovr-sys::audio
…
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.