Open-Source Wikis

/

Bevy

/

Reference

/

Dependencies

bevyengine/bevy

Dependencies

The third-party crates Bevy depends on, grouped by purpose. Workspace-managed (their versions live in the root Cargo.toml's [workspace.dependencies]); each Bevy crate declares only those it actually uses.

Rendering

  • wgpu — graphics API abstraction. Targets Vulkan, Metal, DX12, GL, WebGPU, WebGL. Bevy's renderer is built on it.
  • naga — shader translation. Used by wgpu and exposed via naga_oil.
  • naga_oil — Bevy-flavored shader composer with #import support.
  • encase — type-safe GPU buffer encoding.
  • fixedbitset — used by archetype bookkeeping and the renderer.

Math and geometry

  • glam — vectors, matrices, quaternions. Bevy's primary math library.
  • libm — pure-Rust math implementations for cross-platform determinism (when the libm feature is on).
  • smallvec — inline-allocated small vector.

ECS and reflection

Async and tasks

Logging and tracing

Windowing and platform

Asset formats

  • image — PNG, JPEG, BMP, GIF, TGA, TIFF, WebP, EXR, HDR.
  • ktx2 — KTX2 parser.
  • basis-universal — Basis Universal compressed textures.
  • gltf — glTF 2.0 parsing.
  • rodio — audio playback.
  • symphonia — audio decoding (WAV, OGG, MP3, FLAC, AAC).
  • cosmic-text — text shaping and layout.
  • mikktspace — vertex tangent generation.

UI

  • taffy — flexbox + grid layout engine.

Physics, collisions, picking

Bevy ships no physics. Recommended community crates:

Editor and scripting

Out of tree:

Workspace dependency hygiene

The root Cargo.toml's [workspace.dependencies] table pins versions for everything. Sub-crates use version.workspace = true so versions stay aligned. cargo-deny (configured in deny.toml) checks licenses and advisories on every CI run.

See also

  • The root Cargo.toml for the canonical version pinning.
  • Configuration for the cargo features that gate which dependencies are pulled in.

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Dependencies – Bevy wiki | Factory