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.0
    • Downloads:
      219,205,622
    • Recent downloads:
      45,081,111
    • License:
      Zlib OR Apache-2.0 OR MIT
    • Stars:
      981
    • Last activity:
      2026-01-31
  • crevice

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

    • Latest version:
      0.19.0
    • Downloads:
      209,342
    • Recent downloads:
      22,467
    • License:
      MIT OR Apache-2.0
    • Stars:
      76
    • Last activity:
      2026-03-30
  • cubecl

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

    • Latest version:
      0.9.0
    • Downloads:
      506,908
    • Recent downloads:
      206,715
    • License:
      MIT OR Apache-2.0
    • Stars:
      2,086
    • Last activity:
      2026-04-02
  • dsa-lib

    A Shader generation tool from TOML to GLSL written in Rust

    • Latest version:
      0.1.8
    • Downloads:
      11,353
    • Recent downloads:
      52
    • 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.12.0
    • Downloads:
      5,256,683
    • Recent downloads:
      1,107,678
    • License:
      MIT-0
    • Stars:
      199
    • Last activity:
      2025-09-12
  • 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:
      3,869,736
    • Recent downloads:
      476,676
    • License:
      MIT
    • Stars:
      64
    • Last activity:
      2026-03-23
  • 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,428
    • Recent downloads:
      27
    • 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:
      149,158
    • Recent downloads:
      121,616
    • License:
      MIT OR Apache-2.0
    • Stars:
      35
    • Last activity:
      2026-02-23
  • mach-dxcompiler-rs

    Prebuilt, statically-linked DXC.

    • Latest version:
      0.1.4+2024.11.22-df583a3.1
    • Downloads:
      324,141
    • Recent downloads:
      125,209
    • License:
      MIT
    • Stars:
      1
    • Last activity:
      2024-12-16
  • naga

    Shader translator and validator. Part of the wgpu project

    • Latest version:
      29.0.1
    • Downloads:
      20,799,289
    • Recent downloads:
      5,037,173
    • License:
      MIT OR Apache-2.0
    • Stars:
      16,840
    • Last activity:
      2026-04-06
  • rust-gpu

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

    • License:
      Apache License 2.0
    • Stars:
      3,001
    • Last activity:
      2026-04-02
  • shader-reflect

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

    • Latest version:
      0.2.9
    • Downloads:
      9,668
    • Recent downloads:
      32
    • License:
      MIT OR Apache-2.0
    • Stars:
      111
    • Last activity:
      2026-02-23
  • shaderc

    Rust bindings for shaderc

    • Latest version:
      0.10.1
    • Downloads:
      1,527,756
    • Recent downloads:
      245,131
    • License:
      Apache-2.0
    • Stars:
      286
    • Last activity:
      2025-09-06
  • spirq

    Light weight SPIR-V query utility for graphics.

    • Latest version:
      1.2.2
    • Downloads:
      208,649
    • Recent downloads:
      123,181
    • License:
      MIT OR Apache-2.0
    • Stars:
      111
    • Last activity:
      2026-02-23
  • spirv-reflect

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

    • Latest version:
      0.2.3
    • Downloads:
      463,428
    • Recent downloads:
      26,526
    • 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.