Cargo Features

rendy-factory has no features set by default.

[dependencies]
rendy-factory = { version = "0.5.1", features = ["serde-1", "empty", "dx12", "gl", "metal", "no-slow-safety-checks", "profiler"] }
serde-1 = serde

Enables serde-1 of rendy-core and rendy-memory

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

no-slow-safety-checks

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

profiler

Enables thread_profiler of thread_profiler

thread_profiler:

Required for testing using the profile_scope!() macro

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.

serde serde-1?