Skip to content

Commit deb3427

Browse files
authored
Merge pull request #652 from BenjaminBrienen/fix-advisory
Fix advisory
2 parents 03afa87 + 7d4e329 commit deb3427

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ New crate containing public type definitions for the notify and debouncer crates
6060
[#568]: https://github.com/notify-rs/notify/pull/568
6161
[#570]: https://github.com/notify-rs/notify/pull/570
6262

63+
## notify-types 2.0.0 (unreleased)
64+
65+
- CHANGE: replace instant crate with web-time **breaking**
66+
6367
## debouncer-mini 0.5.0 (2024-10-25)
6468

6569
- CHANGE: update notify to version 7.0.0

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ kqueue = "1.0.8"
3333
libc = "0.2.4"
3434
log = "0.4.17"
3535
mio = { version = "1.0", features = ["os-ext"] }
36-
instant = "0.1.12"
36+
web-time = "1.1.0"
3737
nix = "0.27.0"
3838
notify = { version = "7.0.0", path = "notify" }
3939
notify-debouncer-full = { version = "0.4.0", path = "notify-debouncer-full" }

notify-types/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ serialization-compat-6 = []
1818

1919
[dependencies]
2020
serde = { workspace = true, optional = true }
21-
instant.workspace = true
21+
web-time.workspace = true
2222

2323
[dev-dependencies]
2424
serde_json.workspace = true

notify-types/src/debouncer_full.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::ops::{Deref, DerefMut};
22

3-
use instant::Instant;
3+
use web_time::Instant;
44

55
use crate::event::Event;
66

0 commit comments

Comments
 (0)