Ensure std::time::Instant
is replaced with trice::Instant
everywhere
This commit is contained in:
parent
7fabf54593
commit
db4ac267c2
3 changed files with 5 additions and 4 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -3881,9 +3881,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "trice"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "27a3a110aba3d0ffc4dac3eedbce006dce1a3db5b484c94313940b999c9409ef"
|
||||
checksum = "6fd6accd04d9bcc587c77f2df66cddaba0d4247dcdf9127c74e3c7a461568132"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
|
|
|
@ -95,7 +95,7 @@ thiserror = "1.0.37"
|
|||
tikv = { version = "0.1.0", package = "tikv-client", optional = true }
|
||||
tokio-stream = { version = "0.1.11", optional = true }
|
||||
tokio-util = { version = "0.7.4", optional = true, features = ["compat"] }
|
||||
trice = "0.1.0"
|
||||
trice = "0.2.0"
|
||||
url = "2.3.1"
|
||||
|
||||
[dependencies.js]
|
||||
|
|
|
@ -7,7 +7,8 @@ use std::collections::HashMap;
|
|||
use std::fmt;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::Arc;
|
||||
use std::time::{Duration, Instant};
|
||||
use std::time::Duration;
|
||||
use trice::Instant;
|
||||
|
||||
impl<'a> From<Value> for Cow<'a, Value> {
|
||||
fn from(v: Value) -> Cow<'a, Value> {
|
||||
|
|
Loading…
Reference in a new issue