mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Stop using time@0.1
in Servo (#33394)
This removes the last few uses of `time@0.1` in Servo. There are still dependencies from `style` and `webrender`, but they will be removed soon as well. The uses of this version of `time` are replaced with `std::time` types and `time@0.3` when negative `Duration` is necessary. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
095590e224
commit
bc8d8b62c3
18 changed files with 88 additions and 103 deletions
|
@ -5,6 +5,7 @@
|
|||
use std::cmp::{max, min};
|
||||
use std::ops::Range;
|
||||
use std::path::PathBuf;
|
||||
use std::time::SystemTime;
|
||||
|
||||
use embedder_traits::FilterPattern;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
|
@ -115,7 +116,7 @@ impl RelativePos {
|
|||
pub struct SelectedFile {
|
||||
pub id: Uuid,
|
||||
pub filename: PathBuf,
|
||||
pub modified: u64,
|
||||
pub modified: SystemTime,
|
||||
pub size: u64,
|
||||
// https://w3c.github.io/FileAPI/#dfn-type
|
||||
pub type_string: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue