diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c476894..fb69ee38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,6 +60,10 @@ New crate containing public type definitions for the notify and debouncer crates [#568]: https://github.com/notify-rs/notify/pull/568 [#570]: https://github.com/notify-rs/notify/pull/570 +## notify-types 2.0.0 (unreleased) + +- CHANGE: replace instant crate with web-time **breaking** + ## debouncer-mini 0.5.0 (2024-10-25) - CHANGE: update notify to version 7.0.0 diff --git a/Cargo.toml b/Cargo.toml index 627ad814..05cf5804 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ kqueue = "1.0.8" libc = "0.2.4" log = "0.4.17" mio = { version = "1.0", features = ["os-ext"] } -instant = "0.1.12" +web-time = "1.1.0" nix = "0.27.0" notify = { version = "7.0.0", path = "notify" } notify-debouncer-full = { version = "0.4.0", path = "notify-debouncer-full" } diff --git a/notify-types/Cargo.toml b/notify-types/Cargo.toml index d24028fe..09d5c008 100644 --- a/notify-types/Cargo.toml +++ b/notify-types/Cargo.toml @@ -18,7 +18,7 @@ serialization-compat-6 = [] [dependencies] serde = { workspace = true, optional = true } -instant.workspace = true +web-time.workspace = true [dev-dependencies] serde_json.workspace = true diff --git a/notify-types/src/debouncer_full.rs b/notify-types/src/debouncer_full.rs index 9b32a71b..3b79c2d1 100644 --- a/notify-types/src/debouncer_full.rs +++ b/notify-types/src/debouncer_full.rs @@ -1,6 +1,6 @@ use std::ops::{Deref, DerefMut}; -use instant::Instant; +use web_time::Instant; use crate::event::Event;