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 whenever ovr-sys is added without default-features = false somewhere in the dependency tree.

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.

vks vulkan?

Enables vks ^0.17

winapi audio? directx?

Enables winapi ^0.2