Cargo Features

[dependencies]
sardonyx = { version = "0.0.3", default-features = false, features = ["vulkan", "metal", "empty", "animation", "audio", "gltf", "locale", "network", "renderer", "profiler", "nightly", "sdl_controller", "json", "saveload", "server", "no-slow-safety-checks", "shader-compiler", "experimental-spirv-reflection", "test-support", "sentry"] }
default = animation, audio, locale, network, renderer, sentry

These default features are set whenever sardonyx is added without default-features = false somewhere in the dependency tree.

vulkan

Enables vulkan of sardonyx_rendy

metal

Enables metal of sardonyx_rendy

empty

Enables empty of sardonyx_rendy

animation default = sardonyx_animation
audio default = sardonyx_audio
gltf = sardonyx_animation, sardonyx_gltf
locale default server? = sardonyx_locale
network default server? = sardonyx_network
renderer default = sardonyx_rendy
profiler = thread_profiler

Enables profiler of sardonyx_animation, sardonyx_assets, sardonyx_audio, sardonyx_config, sardonyx_controls, sardonyx_core, sardonyx_input, sardonyx_locale, sardonyx_rendy, sardonyx_ui, and sardonyx_utils and thread_profiler of thread_profiler

thread_profiler:

Required for testing using the profile_scope!() macro

nightly

Enables nightly of sardonyx_animation, sardonyx_assets, sardonyx_audio, sardonyx_config, sardonyx_controls, sardonyx_core, sardonyx_input, sardonyx_network, sardonyx_rendy, sardonyx_ui, and sardonyx_utils

sdl_controller

Enables sdl_controller of sardonyx_input

json

Enables json of sardonyx_assets

saveload

Enables saveload of sardonyx_core

server = locale, network
no-slow-safety-checks

Enables no-slow-safety-checks of sardonyx_rendy

shader-compiler

Enables shader-compiler of sardonyx_rendy

experimental-spirv-reflection

Enables experimental-spirv-reflection of sardonyx_rendy

test-support

Enables test-support of sardonyx_rendy and sardonyx_window

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.

sardonyx_animation animation gltf? nightly? profiler?
sardonyx_audio audio nightly? profiler?
sardonyx_gltf gltf?
sardonyx_network network nightly?
sardonyx_locale locale profiler?
sardonyx_rendy empty? experimental-spirv-reflection? metal? nightly? no-slow-safety-checks? profiler? renderer shader-compiler? test-support? vulkan?
sentry default

Enables sentry ^0.15.4

thread_profiler profiler?