Are we game yet?

Shaders

Languages and tools for writing, compiling, and using shaders.

Crates

  • bytemuck

    A crate for mucking around with piles of bytes.

    • Latest version:
      1.25.2
    • Downloads:
      479,115,877
    • Recent downloads:
      143,693,276
    • License:
      Zlib OR Apache-2.0 OR MIT
    • Stars:
      1,081
    • Last activity:
      2026-09-11
  • crevice

    Create GLSL-compatible versions of structs with explicitly-initialized padding

    • Latest version:
      0.21.0
    • Downloads:
      283,966
    • Recent downloads:
      32,303
    • License:
      MIT OR Apache-2.0
    • Stars:
      75
    • Last activity:
      2026-11-09
  • cubecl

    Multi-platform high-performance compute language extension for Rust.

    • Latest version:
      0.11.4
    • Downloads:
      2,084,811
    • Recent downloads:
      1,051,866
    • License:
      MIT OR Apache-2.0
    • Stars:
      2,502
    • Last activity:
      2026-11-15
  • dsa-lib

    A Shader generation tool from TOML to GLSL written in Rust

    • Latest version:
      0.1.8
    • Downloads:
      11,423
    • Recent downloads:
      20
    • License:
      MIT/Apache-2.0
    • Stars:
      2
    • Last activity:
      2022-07-03
  • encase

    Provides a mechanism to lay out data into GPU buffers ensuring WGSL's memory layout requirements are met

    • Latest version:
      0.13.0
    • Downloads:
      9,830,368
    • Recent downloads:
      2,384,018
    • License:
      MIT-0
    • Stars:
      209
    • Last activity:
      2026-09-19
  • game-toolkit

    A Rust game-jam toolkit for 2D and 3D - umbrella crate; use game_toolkit::prelude::* and go.

    • Latest version:
      0.11.4
    • Downloads:
      496
    • Recent downloads:
      430
    • License:
      EUPL-1.2
    • Stars:
      1
    • Last activity:
      2026-11-15
  • game-toolkit-dosvideo

    DOS-era PC graphics and sound for game-toolkit: VGA, Mode X, EGA, CGA, Hercules, Tandy and VESA SVGA at the register level, a beam-accurate CRT, a CRT shader and the PC speaker

    • Latest version:
      0.3.2
    • Downloads:
      125
    • Recent downloads:
      125
    • License:
      EUPL-1.2
    • Last activity:
      2026-11-10
  • hassle-rs

    HLSL compiler library, this crate provides an FFI layer and idiomatic rust wrappers for the new DXC HLSL compiler and validator.

    • Latest version:
      0.12.0
    • Downloads:
      6,424,076
    • Recent downloads:
      1,215,017
    • License:
      MIT
    • Stars:
      72
    • Last activity:
      2026-11-08
  • include-merkle

    Functionality for generating a Merkle-tree of a given text file with include references, replacing includes paths with a deterministic versioned identity, and also functionality for flattening include directives into a single file. The primary motivation is compiling shaders for various graphics APIs, but the the functionality can apply to a variety of source code parsing use cases.

    • Latest version:
      0.1.4
    • Downloads:
      10,469
    • Recent downloads:
      12
    • License:
      MIT/Apache-2.0
    • Stars:
      7
    • Last activity:
      2022-04-12
  • inline-spirv

    Compile GLSL/HLSL/WGSL and inline SPIR-V right inside your crate.

    • Latest version:
      0.2.1
    • Downloads:
      2,059,230
    • Recent downloads:
      1,352,375
    • License:
      MIT OR Apache-2.0
    • Stars:
      36
    • Last activity:
      2026-02-23
  • mach-dxcompiler-rs

    Prebuilt, statically-linked DXC.

    • Latest version:
      0.1.7+2026.10.26-141dd7f.1
    • Downloads:
      581,505
    • Recent downloads:
      152,547
    • License:
      MIT
    • Stars:
      2
    • Last activity:
      2026-10-27
  • naga

    Shader translator and validator. Part of the wgpu project

    • Latest version:
      30.0.2
    • Downloads:
      56,043,499
    • Recent downloads:
      21,446,353
    • License:
      MIT OR Apache-2.0
    • Stars:
      18,547
    • Last activity:
      2026-11-16
  • nvidia-sdk

    Verified acquisition and staging for NVIDIA graphics SDKs

    • Latest version:
      0.1.0
    • Downloads:
      140
    • Recent downloads:
      140
    • License:
      MIT OR Apache-2.0
    • Stars:
      2
    • Last activity:
      2026-11-03
  • rust-gpu

    🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

    • License:
      Apache License 2.0
    • Stars:
      3,450
    • Last activity:
      2026-11-11
  • shader-reflect

    SPIR-V/GLSL/HLSL shader interface reflection to JSON. (CLI)

    • Latest version:
      0.2.10
    • Downloads:
      9,729
    • Recent downloads:
      11
    • License:
      MIT OR Apache-2.0
    • Stars:
      113
    • Last activity:
      2026-08-04
  • shaderc

    Rust bindings for shaderc

    • Latest version:
      0.10.1
    • Downloads:
      3,877,290
    • Recent downloads:
      1,581,150
    • License:
      Apache-2.0
    • Stars:
      286
    • Last activity:
      2025-09-06
  • spirq

    Light weight SPIR-V query utility for graphics.

    • Latest version:
      1.3.0
    • Downloads:
      2,160,254
    • Recent downloads:
      1,387,869
    • License:
      MIT OR Apache-2.0
    • Stars:
      113
    • Last activity:
      2026-08-04
  • spirv-reflect

    Reflection API in rust for SPIR-V shader byte code, intended for Vulkan applications.

    • Latest version:
      0.2.3
    • Downloads:
      540,794
    • Recent downloads:
      33,929
    • License:
      MIT/Apache-2.0
    • Stars:
      111
    • Last activity:
      2025-01-08

Contribute

Do you know about a missing crate? Did you launch a new crate?

Please create a pull request or an issue on our GitHub!

Looking for a crate you can't find here? Try asking on the chat.