40 releases

Uses new Rust 2024

0.13.1 Jan 15, 2026
0.12.0 Dec 24, 2025
0.11.0 Jul 26, 2024
0.10.0 Feb 23, 2024
0.2.2 Mar 25, 2019

#432 in Graphics APIs

Download history 7477/week @ 2025-10-31 7945/week @ 2025-11-07 6535/week @ 2025-11-14 7184/week @ 2025-11-21 5809/week @ 2025-11-28 5466/week @ 2025-12-05 5394/week @ 2025-12-12 5237/week @ 2025-12-19 5435/week @ 2025-12-26 5693/week @ 2026-01-02 7298/week @ 2026-01-09 6872/week @ 2026-01-16 7358/week @ 2026-01-23 6854/week @ 2026-01-30 8731/week @ 2026-02-06 6508/week @ 2026-02-13

30,634 downloads per month
Used in 13 crates (2 directly)

MIT/Apache

2MB
40K SLoC

Rust 23K SLoC // 0.0% comments C++ 15K SLoC // 0.1% comments Python 1K SLoC // 0.2% comments C 565 SLoC // 0.2% comments Visual Studio Project 279 SLoC PowerShell 99 SLoC // 0.2% comments AsciiDoc 96 SLoC // 0.0% comments Bazel 34 SLoC Perl 5 SLoC Shell 1 SLoC

openxr-sys

Cloning

If you can, clone the repo using git clone --recurse-submodules.

If you already cloned the repo without, you must run (from anywhere in the repo): git submodule update --init.

Updating the OpenXR SDK

  1. Update the OpenSR-SDK git submodule to a new commit hash or tag: a. cd openxrs/sys/OpenXR-SDK. b. git up <tag/xxx or hash>. c. cd ../.. to get back to the openxrs repo root and check that the submodule is updated (should be a single line change to what looks like a file at openxrs/sys/OpenXR-SDK).
  2. cd generator; cargo run --bin generator to regenerate the sys crate.
  3. cd .. to go back to the openxrs repo root`.
  4. cargo fmt && cargo build && cargo test to find any issues that need fixing.

Dependencies