mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
- 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>
26 lines
799 B
TOML
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 }
|