events: use web-time instead of std::time for BeaconInfoEventContent
This commit is contained in:
parent
c37843e9be
commit
7f562fe67e
@ -76,6 +76,7 @@ serde_json = { workspace = true, features = ["raw_value"] }
|
|||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
tracing = { workspace = true, features = ["attributes"] }
|
tracing = { workspace = true, features = ["attributes"] }
|
||||||
url = { workspace = true }
|
url = { workspace = true }
|
||||||
|
web-time = { workspace = true }
|
||||||
wildmatch = "2.0.0"
|
wildmatch = "2.0.0"
|
||||||
|
|
||||||
# dev-dependencies can't be optional, so this is a regular dependency
|
# dev-dependencies can't be optional, so this is a regular dependency
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
//!
|
//!
|
||||||
//! [MSC3489]: https://github.com/matrix-org/matrix-spec-proposals/pull/3489
|
//! [MSC3489]: https://github.com/matrix-org/matrix-spec-proposals/pull/3489
|
||||||
|
|
||||||
use std::time::{Duration, SystemTime};
|
|
||||||
|
|
||||||
use ruma_common::{MilliSecondsSinceUnixEpoch, OwnedUserId};
|
use ruma_common::{MilliSecondsSinceUnixEpoch, OwnedUserId};
|
||||||
use ruma_macros::EventContent;
|
use ruma_macros::EventContent;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
use web_time::{Duration, SystemTime};
|
||||||
|
|
||||||
use crate::location::AssetContent;
|
use crate::location::AssetContent;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user