Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notify dependency to v6 #1775

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

matthri
Copy link
Contributor

@matthri matthri commented Nov 15, 2023

This updates notify to v6 and uses notify-debouncer-mini for event debouncing.

Please Note: notify-debouncer-mini does NOT distinguish different event kinds but also has fewer dependencies than notify-debouncer-full.
I don't think this is a problem in this case, but please let me know if you prefer the version where event kinds are explicitly checked, then I will happily update this PR.

PS: I think one could think about moving the event handling to a separate function, as the watch function is getting a bit complex. For easier review I tried not to do too much changes to the structure.
So I can do the refactoring in a follow up PR or include it in this one if you prefer it.

closes #1640

src/main.rs Outdated Show resolved Hide resolved
@shadows-withal shadows-withal merged commit 369a3d3 into rust-lang:main Nov 29, 2023
5 checks passed
@shadows-withal
Copy link
Member

@all-contributors please add @matthri for code

Copy link
Contributor

@shadows-withal

I've put up a pull request to add @matthri! 🎉

@matthri matthri deleted the update-notify-v6 branch December 1, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update notify to v6
2 participants