Cargo Features
[dependencies]
amethyst = { version = "0.15.3", default-features = false, features = ["vulkan", "metal", "empty", "tiles", "animation", "audio", "gltf", "locale", "network", "renderer", "profiler", "sdl_controller", "json", "saveload", "server", "storage-event-control", "no-slow-safety-checks", "shader-compiler", "experimental-spirv-reflection", "test-support", "sentry"] }
- default = animation, audio, locale, network, renderer
-
These default features are set whenever
amethyst
is added without
somewhere in the dependency tree.default-features = false - vulkan
-
Enables vulkan and vulkan-x11 of amethyst_rendy
- metal
-
Enables metal of amethyst_rendy
- empty
-
Enables empty of amethyst_rendy
- tiles = amethyst_tiles
- animation default = amethyst_animation
- audio default = amethyst_audio
- gltf = amethyst_animation, amethyst_gltf
- locale default server? = amethyst_locale
- network default server? = amethyst_network
- renderer default = amethyst_rendy
- profiler = thread_profiler
-
Enables thread_profiler of thread_profiler, profiler of amethyst_animation, amethyst_assets, amethyst_audio, amethyst_config, amethyst_controls, amethyst_core, amethyst_input, amethyst_locale, amethyst_rendy, amethyst_tiles, amethyst_ui, and amethyst_utils
- sdl_controller
-
Enables sdl_controller of amethyst_input
- json
-
Enables json of amethyst_assets
- saveload
-
Enables saveload of amethyst_core
- server = locale, network
- storage-event-control
-
Enables storage-event-control of amethyst_core
- no-slow-safety-checks
-
Enables no-slow-safety-checks of amethyst_rendy
- shader-compiler
-
Enables shader-compiler of amethyst_rendy
- experimental-spirv-reflection
-
Enables experimental-spirv-reflection of amethyst_rendy
- test-support
-
Enables test-support of amethyst_rendy and amethyst_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.
- amethyst_animation animation gltf? profiler?
- amethyst_audio audio profiler?
- amethyst_gltf gltf?
- amethyst_network network
- amethyst_locale locale profiler?
- amethyst_rendy empty? experimental-spirv-reflection? metal? no-slow-safety-checks? profiler? renderer shader-compiler? test-support? vulkan?
- amethyst_tiles profiler? tiles?
- sentry implicit feature
-
Enables sentry ^0.18.0
sentry:
Sentry (getsentry.com) client for rust ;)
- thread_profiler profiler?
-
Enables thread_profiler
thread_profiler:
Required for testing using the profile_scope!() macro