aboutsummaryrefslogtreecommitdiffstats
path: root/components/webxr/lib.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-01-31 17:41:57 +0100
committerGitHub <noreply@github.com>2025-01-31 16:41:57 +0000
commit5466c27f6f9a151ae7f5357cb663cc2580fbca15 (patch)
treea306c16a4fc0af3fa8ab3976de0b5c79f8503de1 /components/webxr/lib.rs
parenta4c6c205d2d26dd16ac1cd03e73a0262eb4c12f4 (diff)
downloadservo-5466c27f6f9a151ae7f5357cb663cc2580fbca15.tar.gz
servo-5466c27f6f9a151ae7f5357cb663cc2580fbca15.zip
Finish the integration of `webxr` into the Cargo workspace (#35229)
- Run `cargo fmt` on `webxr` and `webxr-api` - Fix clippy warnings in the existing `webxr` code - Integrate the new crates into the workspace - Expose `webxr` via the libservo API rather than requiring embedders to depend on it explicitly. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/webxr/lib.rs')
-rw-r--r--components/webxr/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/webxr/lib.rs b/components/webxr/lib.rs
index ad731b92f07..862d8e9814e 100644
--- a/components/webxr/lib.rs
+++ b/components/webxr/lib.rs
@@ -14,8 +14,7 @@ pub mod headless;
pub mod openxr;
pub mod surfman_layer_manager;
-pub use surfman_layer_manager::SurfmanGL;
-pub use surfman_layer_manager::SurfmanLayerManager;
+pub use surfman_layer_manager::{SurfmanGL, SurfmanLayerManager};
pub type MainThreadRegistry = webxr_api::MainThreadRegistry<surfman_layer_manager::SurfmanGL>;
pub type Discovery = Box<dyn webxr_api::DiscoveryAPI<SurfmanGL>>;