22 breaking releases

0.23.0+213 Nov 14, 2022
0.22.0+204 Jan 25, 2022
0.21.0+202 Dec 11, 2021
0.20.0+190 Aug 30, 2021
0.11.0+148 Jul 21, 2020

#235 in Graphics APIs

Download history 31/week @ 2024-01-11 25/week @ 2024-01-18 8/week @ 2024-01-25 9/week @ 2024-02-01 21/week @ 2024-02-08 72/week @ 2024-02-15 140/week @ 2024-02-22 82/week @ 2024-02-29 89/week @ 2024-03-07 76/week @ 2024-03-14 50/week @ 2024-03-21 128/week @ 2024-03-28 136/week @ 2024-04-04 84/week @ 2024-04-11 75/week @ 2024-04-18 54/week @ 2024-04-25

353 downloads per month
Used in 9 crates (8 directly)

Zlib license

142K SLoC


docs.rs crates.io

Vulkan API bindings

Take a look at the erupt user guide.


It is not recommended to use erupt for new projects, use ash instead. There is work underway to rewrite ash using ideas from the erupt project, for updates see https://github.com/ash-rs/ash/issues/344. Simple patches to erupt will still be merged, but no large changes are to be expected.


  • Full Vulkan API coverage
  • First-class support for all extensions
  • High quality auto-generated function wrappers
  • A utility module aiding your use of this crate
  • Generated code distributed into multiple modules
  • Function loading (EntryLoader, InstanceLoader, DeviceLoader)
  • Separate Flags and FlagBits types
  • A high level Builder for every struct
  • Type-safe pointer chain support
  • Default and Debug implementation for every type
  • Confirmed support for Linux, Windows, macOS and Android
  • Complete auto-generation of everything except utils

Example: Instance Creation

use erupt::{vk, EntryLoader, InstanceLoader};

let entry = EntryLoader::new()?;

let app_info = vk::ApplicationInfoBuilder::new()
let instance_info = vk::InstanceCreateInfoBuilder::new()
let instance = InstanceLoader::new(&entry, &instance_info)?;

// ...


Additional examples

Cargo Features


Q: What's the difference between this, ash and vulkano?

A: Vulkano is special because it provides hand-written Vulkan wrappers, which means that for example it has a special hand-written wrapper around a Vulkan PhysicalDevice. On the other hand ash and erupt both provide Vulkan API bindings too, but not exposing such fancy wrappers and instead focusing on having good bindings to the raw Vulkan API.

The big selling points of erupt is that it has better documentation, high level function support for all extensions (which is only really relevant if you use those extensions), being fully generated and some more smaller improvements. On the other hand ash has a bigger existing community.

Q: What does the number at the end of the version mean?

A: It represents the Vulkan Header version this version of erupt was generated against and is purely informational.



Memory Allocation

Minimum Supported Rust Version (MSRV)

Rust 1.48 or higher.

Thank you

  • ash for helping inspiring and making this crate
  • libloading for providing symbol loading
  • ash-window for providing a base for the surface module
  • bitflags for providing a perfect bitflag macro
  • The Vulkan Community ❤️
  • The Rust Community ❤️


The logo is the Volcano Emoji of Twemoji (License). The name "erupt" was added on top of it.

This project is licensed under the zlib License.