mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
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>
This commit is contained in:
parent
a4c6c205d2
commit
5466c27f6f
41 changed files with 448 additions and 649 deletions
11
Cargo.toml
11
Cargo.toml
|
@ -97,6 +97,7 @@ net_traits = { path = "components/shared/net" }
|
|||
nix = "0.29"
|
||||
num-traits = "0.2"
|
||||
num_cpus = "1.1.0"
|
||||
openxr = "0.19"
|
||||
parking_lot = "0.12"
|
||||
percent-encoding = "2.3"
|
||||
proc-macro2 = "1"
|
||||
|
@ -105,6 +106,7 @@ quote = "1"
|
|||
rand = "0.8"
|
||||
rand_core = "0.6"
|
||||
rand_isaac = "0.3"
|
||||
raw-window-handle = "0.6"
|
||||
rayon = "1"
|
||||
regex = "1.11"
|
||||
rustls = { version = "0.23", default-features = false, features = ["logging", "std", "tls12"] }
|
||||
|
@ -159,8 +161,9 @@ webpki-roots = "0.26"
|
|||
webrender = { git = "https://github.com/servo/webrender", branch = "0.65", features = ["capture"] }
|
||||
webrender_api = { git = "https://github.com/servo/webrender", branch = "0.65" }
|
||||
webrender_traits = { path = "components/shared/webrender" }
|
||||
webxr = { git = "https://github.com/servo/webxr" }
|
||||
webxr-api = { git = "https://github.com/servo/webxr" }
|
||||
webxr-api = { path = "components/shared/webxr" }
|
||||
winapi = "0.3"
|
||||
wio = "0.2"
|
||||
wgpu-core = { git = "https://github.com/gfx-rs/wgpu", rev = "d8e7ab1ad13f2bf2f9702401d1bc625e26b1c2e6" }
|
||||
wgpu-types = { git = "https://github.com/gfx-rs/wgpu", rev = "d8e7ab1ad13f2bf2f9702401d1bc625e26b1c2e6" }
|
||||
windows-sys = "0.59"
|
||||
|
@ -230,7 +233,3 @@ codegen-units = 1
|
|||
#
|
||||
# [patch."https://github.com/servo/<repository>"]
|
||||
# <crate> = { path = "/path/to/local/checkout" }
|
||||
|
||||
[patch."https://github.com/servo/webxr"]
|
||||
webxr = { path = "components/webxr" }
|
||||
webxr-api = { path = "components/shared/webxr" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue