37 releases

0.11.0 Jul 26, 2024
0.10.0 Feb 23, 2024
0.9.3 Oct 8, 2022
0.9.1 Dec 23, 2021
0.2.2 Mar 25, 2019

#503 in Graphics APIs

Download history 4098/week @ 2025-05-05 3216/week @ 2025-05-12 3214/week @ 2025-05-19 3034/week @ 2025-05-26 3935/week @ 2025-06-02 4075/week @ 2025-06-09 4552/week @ 2025-06-16 3819/week @ 2025-06-23 3313/week @ 2025-06-30 4878/week @ 2025-07-07 4557/week @ 2025-07-14 4214/week @ 2025-07-21 4855/week @ 2025-07-28 4100/week @ 2025-08-04 5986/week @ 2025-08-11 6193/week @ 2025-08-18

21,448 downloads per month
Used in 9 crates (2 directly)

MIT/Apache

1.5MB
31K SLoC

C++ 15K SLoC // 0.1% comments Rust 14K SLoC // 0.0% comments Python 1K SLoC // 0.2% comments C 409 SLoC // 0.3% 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