#vr-headset #web-xr #open-xr #vr #ar

servo-webxr-api

A safe Rust API that provides a way to interact with virtual reality and augmented reality devices and integration with OpenXR. The API is inspired by the WebXR Device API (https://www.w3.org/TR/webxr/) but adapted to Rust design patterns

2 releases

Uses new Rust 2024

new 0.1.0-rc2 Apr 8, 2026
0.1.0-rc1 Apr 3, 2026

#182 in Graphics APIs

Download history 5/week @ 2026-03-29 83/week @ 2026-04-05

88 downloads per month
Used in 13 crates (8 directly)

MPL-2.0 license

425KB
9K SLoC

This crate defines the Rust API for WebXR. It is implemented by the webxr crate.

Dependencies

~71–100MB
~2M SLoC