Cargo Features

rendy-texture has no features set by default.

[dependencies]
rendy-texture = { version = "0.5.1", features = ["no-slow-safety-checks", "serde-1", "profile", "image", "palette"] }
no-slow-safety-checks

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

serde-1 = serde

Enables serde-1 of rendy-core

profile

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?
image implicit feature

Enables image ^0.22.0

image:

Imaging library. Provides basic image processing and encoders/decoders for common image formats.

Affects format::image

palette implicit feature

Enables palette ^0.4

palette:

Convert and manage colors with a focus on correctness, flexibility and ease of use

Affects format::palette