mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove the WebXR dependency on ancient time@0.1
crate (#32862)
`webxr` depends on a very old verison of `time`, which allowed serializing monotonic clock output. This isn't possible on all platforms, so newer versions of `time` do not allow this. In order to stop using the old 0.1 versions of `time` we have to stop relying on times passed from `webxr` to Servo. This change does that, at the cost of removing the XR profiling feature. It has to be rewritten in another way in the `webxr` crate. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
eac54183c1
commit
f7448b5d61
9 changed files with 5 additions and 54 deletions
|
@ -12,7 +12,6 @@ path = "lib.rs"
|
|||
|
||||
[features]
|
||||
webgl_backtrace = []
|
||||
xr-profile = ["webxr-api/profile", "time"]
|
||||
|
||||
[dependencies]
|
||||
base = { workspace = true }
|
||||
|
@ -28,6 +27,5 @@ serde_bytes = { workspace = true }
|
|||
servo_config = { path = "../../config" }
|
||||
sparkle = { workspace = true }
|
||||
style = { workspace = true }
|
||||
time = { workspace = true, optional = true }
|
||||
webrender_api = { workspace = true }
|
||||
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue