mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
deps: Upgrade to webrender@0.66
(#35325)
In addition to some small API changes, this downstream version of
WebRender no longer depends on a very old version of time. This is the
last step toward removing the dependency on `time0.1`.
The review for this commit should also include: 9f552bebab
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
4721f47190
commit
643885e6f1
32 changed files with 72 additions and 76 deletions
|
@ -20,7 +20,7 @@ malloc_size_of = { workspace = true }
|
|||
malloc_size_of_derive = { workspace = true }
|
||||
parking_lot = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
time_03 = { workspace = true }
|
||||
time = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
static_assertions = { workspace = true }
|
||||
|
||||
|
|
|
@ -15,11 +15,11 @@ use std::ops::{Add, Sub};
|
|||
|
||||
use malloc_size_of_derive::MallocSizeOf;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use time_03::Duration;
|
||||
use time::Duration;
|
||||
|
||||
/// A monotonic, nanosecond precision timer that can be used cross-process. The value
|
||||
/// stored internally is purposefully opaque as the origin is platform-specific. They can
|
||||
/// be compared and [`time_03::Duration`] can be found by subtracting one from another.
|
||||
/// be compared and [`time::Duration`] can be found by subtracting one from another.
|
||||
/// The `time` crate is used in this case instead of `std::time` so that durations can
|
||||
/// be negative.
|
||||
#[derive(
|
||||
|
|
|
@ -22,5 +22,5 @@ log = { workspace = true }
|
|||
serde = { workspace = true }
|
||||
servo_config = { path = "../../config" }
|
||||
signpost = { git = "https://github.com/pcwalton/signpost.git" }
|
||||
time_03 = { workspace = true }
|
||||
time = { workspace = true }
|
||||
tracing = { workspace = true, optional = true }
|
||||
|
|
|
@ -7,7 +7,7 @@ use ipc_channel::ipc::IpcSender;
|
|||
use log::warn;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use servo_config::opts;
|
||||
use time_03::Duration;
|
||||
use time::Duration;
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Eq, Ord, PartialEq, PartialOrd, Serialize)]
|
||||
pub struct TimerMetadata {
|
||||
|
|
|
@ -23,4 +23,4 @@ euclid = { workspace = true }
|
|||
ipc-channel = { workspace = true, optional = true }
|
||||
log = { workspace = true }
|
||||
serde = { workspace = true, optional = true }
|
||||
time_03 = { workspace = true, optional = true }
|
||||
time = { workspace = true, optional = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue