servo/components/shared/webxr/Cargo.toml
Martin Robinson 5466c27f6f
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>
2025-01-31 16:41:57 +00:00

26 lines
799 B
TOML

[package]
name = "webxr-api"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
publish.workspace = true
rust-version.workspace = true
keywords = ["ar", "headset", "openxr", "vr", "webxr"]
description = '''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.'''
[lib]
path = "lib.rs"
[features]
ipc = ["serde", "ipc-channel", "euclid/serde"]
[dependencies]
euclid = { workspace = true }
ipc-channel = { workspace = true, optional = true }
log = { workspace = true }
serde = { workspace = true, optional = true }
time_03 = { workspace = true, optional = true }