746 Commits

Author SHA1 Message Date
Daniel Faust 3df0f65152 Use instant crate 2024-03-31 20:15:59 +02:00
Daniel Faust 8da5139565 Add serialization-compat-6 feature 2024-03-31 20:14:59 +02:00
naglis 2e1913d29b Remove mention of immediate mode in the docs
Notion of "immediate mode" was removed in https://github.com/notify-rs/notify/pull/336.
2024-03-28 19:35:47 +01:00
Daniel Faust 416085e174 Move DebouncedEvent types into notify-types crate 2024-03-28 19:20:23 +01:00
Daniel Faust f195bd66a3 Fix warnings 2024-03-28 19:20:23 +01:00
Naglis Jonaitis 2511ebc004 Fix Cargo.toml manifest key (#565) 2024-02-18 21:32:46 +09:00
Daniel Faust 08e74dae8e Move event types into separate crate
Closes #487.
2024-01-25 19:23:44 +01:00
Daniel Faust 43efec9a54 Improve serialization (#558)
* Add event kind serialization tests

* Serialize events

* Flatten event kind during serialization

* Serialize event with attributes

* Serialize flags as camelCase
2024-01-23 09:06:36 +01:00
Daniel Faust 80aaee21f7 Bump debouncer-full version and add changelog 2024-01-22 16:51:51 +01:00
Daniel Faust 71022431b3 Deprecate watcher and cache methods 2024-01-22 16:51:51 +01:00
Daniel Faust b15c88b10d Move roots into DebounceDataInner 2024-01-22 16:51:51 +01:00
Daniel Faust f676035ab9 Add RecommendedCache 2024-01-22 16:51:51 +01:00
Michel Lind (né Salim) 24d9b4da10 [notify-debouncer-full] mark as compatible with rstest 0.18.x (#556) 2024-01-20 20:47:33 +09:00
Will c3929ed114 purge events on stop 2024-01-04 21:34:37 +01:00
Aron Heinecke 6c1798dcdf undo readme format 2024-01-04 21:31:48 +01:00
Fredrik Fornwall f856ccf5b7 Update MSRV in the README 2024-01-04 21:31:48 +01:00
Fredrik Fornwall fcde98f5ab Decrease the number of inotify watches() calls 2024-01-04 21:31:48 +01:00
Fredrik Fornwall 2a06e5f267 Adopt to inotify not consuming WouldBlock 2024-01-04 21:31:48 +01:00
Fredrik Fornwall 6ac5105a49 Update inotify to 0.10
See https://github.com/hannobraun/inotify-rs/blob/main/CHANGELOG.md

This requires updating the MSRV from 1.60 to 1.63.
2024-01-04 21:31:48 +01:00
LeoniePhiline 627f9aa012 Prevent installing crossbeam-channel with default-features="false"
Debouncers used to install `crossbeam-channel`,
due to keeping `notify`'s default features enabled
even if their own default features were disabled.

With this change, `crossbeam-channel` will
no longer be installed if `notify-debouncer-*`
as well as `notify` are installed with
`default-features = false`

Fixes #549
2024-01-04 21:14:46 +01:00
Kent Ross e0902a1101 improve first example in the docs (#543) 2024-01-05 01:07:52 +09:00
Bijay Shrestha 2437896199 v7.0 Config: Replace deprecated poll_interval signature with poll_interval_v2 2023-11-28 23:21:36 +01:00
Bijay Shrestha c4d0470785 Fixed the Event of watch dir Deletion (#540)
* bugfix:493_watched_dir_status_File

* refactoring

* refactors

* Update notify/src/inotify.rs

Co-authored-by: Aron <Ox0p54r36@t-online.de>

* refactor: Removed unwrap call

* Removed the extra comment before doc comment.

* remove unnecessary clone

* warn on missing path for DELETE_SELF

---------

Co-authored-by: Aron <Ox0p54r36@t-online.de>
2023-11-01 01:44:45 +01:00
coswat 146790b179 code format by cargo fmt 2023-09-30 23:00:56 +02:00
coswat 777dfa0f45 removed unused import from debouncer_mini.rs 2023-09-30 23:00:56 +02:00