Cargo Features

rendy-init has no features set by default.

[dependencies]
rendy-init = { version = "0.5.1", features = ["empty", "dx12", "gl", "metal", "vulkan", "no-slow-safety-checks", "winit"] }
empty

Enables empty of rendy-core

rendy-core:

This list of features is common for many of rendy's crates All other crates should transitively enable feature for rendy-core crate and not rely on the feature being enabled for that crate directly. To conditionally enable token trees rendy-core::with_* macro should be used instead of cfg attributes.

dx12

Enables dx12 of rendy-core

gl

Enables gl of rendy-core

metal

Enables metal of rendy-core

vulkan

Enables vulkan of rendy-core

no-slow-safety-checks

Enables no-slow-safety-checks of rendy-core

Features from optional dependencies

winit implicit feature

Enables winit ^0.20.0-alpha4

winit:

Cross-platform window creation library