Cargo Features

[dependencies]
pf_sandbox = { version = "0.1.1", default-features = false, features = ["vulkan", "opengl"] }
default = vulkan

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

vulkan default = vulkano, vulkano-shader-derive, vulkano-win, vulkano_text

Affects pf_sandbox::vulkan

opengl = glium

opengl is now broken, need to port it over to winit instead of glutin

Affects pf_sandbox::opengl, pf_sandbox::opengl_buffers

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.

vulkano vulkan

Enables vulkano ^0.5

vulkano-win vulkan

Enables vulkano-win ^0.5

vulkano-shader-derive vulkan

Enables vulkano-shader-derive ^0.5

vulkano_text vulkan

Enables vulkano_text ^0.3

glium opengl?

Enables glium ^0.16