#xr #server-client #display #vr #node #fusion #stardust

stardust-xr-fusion

High level client library for the Stardust XR display server

86 releases (34 breaking)

0.43.2 Sep 5, 2023
0.42.1 Aug 1, 2023
0.42.0 Jun 11, 2023
0.38.1 Feb 25, 2023
0.24.5 Nov 30, 2022

#2 in #fusion

Download history 209/week @ 2024-07-28 62/week @ 2024-09-22

62 downloads per month
Used in 4 crates (3 directly)

MIT license

7.5MB
5K SLoC

A library for Stardust XR clients to use with abstractions over the client, nodes, and event loop.

Example

use stardust_xr_fusion::client::Client;

#[tokio::main(flavor="current_thread")]
async fn main() {
   let (_client, event_loop) = Client::connect_with_async_loop().await.unwrap();

   tokio::select! {
   	biased;
   	_ = tokio::signal::ctrl_c() => (),
   	e = event_loop => e.unwrap().unwrap(),
   }
}

Dependencies

~14–23MB
~383K SLoC