Cargo Features

[dependencies]
bevy_zeroverse = { version = "0.5.0", default-features = false, features = ["multi_threaded", "development", "extension-module", "perftest", "plucker", "python", "viewer", "web", "webgl2", "webgpu", "rayon"] }
default = development, extension-module, multi_threaded, plucker, viewer

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

multi_threaded default

Enables multi_threaded of bevy

bevy:

Enables multithreaded parallelism in the engine. Disabling it forces all engine tasks to run on a single thread.

development default

Enables dynamic_linking of bevy

bevy:

Force dynamic linking, which improves iterative compile times

extension-module default python?

Enables extension-module of pyo3

pyo3:

Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters.

perftest
plucker default webgpu?
python = extension-module, pyo3, webgpu

Affects app::BevyZeroverseConfig

viewer default web? = bevy-inspector-egui, bevy_panorbit_camera

Enables bevy_ui of bevy

bevy:

A custom ECS-driven UI framework

Required by the viewer binary

web = viewer, webgpu
webgl2

Enables webgl2 of bevy

bevy:

Enable some limitations to be able to use WebGL2. Please refer to the WebGL2 and WebGPU section of the examples README for more information on how to run Wasm builds with WebGPU.

webgpu python? web? = plucker

Enables webgpu of bevy

bevy:

Enable support for WebGPU in Wasm. When enabled, this feature will override the webgl2 feature and you won't be able to run Wasm builds with WebGL2, only with WebGPU.

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.

bevy-inspector-egui viewer
bevy_panorbit_camera viewer
pyo3 extension-module python?
rayon implicit feature

Enables rayon

rayon:

Simple work-stealing parallelism for Rust