#xr #ar #linux #vr #client #event-loop #fusion

stardust-xr-fusion

High level client library for the Stardust XR display server

80 releases (31 breaking)

0.40.2 May 11, 2023
0.39.5 May 6, 2023
0.38.1 Feb 25, 2023
0.29.1 Dec 26, 2022
0.24.5 Nov 30, 2022

#5 in #vr

Download history 73/week @ 2023-01-27 418/week @ 2023-02-03 168/week @ 2023-02-10 327/week @ 2023-02-17 140/week @ 2023-02-24 35/week @ 2023-03-03 39/week @ 2023-03-10 16/week @ 2023-03-17 61/week @ 2023-03-24 94/week @ 2023-03-31 26/week @ 2023-04-07 124/week @ 2023-04-14 64/week @ 2023-04-21 102/week @ 2023-04-28 306/week @ 2023-05-05 67/week @ 2023-05-12

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

MIT license

7.5MB
4.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

~12–19MB
~351K SLoC