-
-
Notifications
You must be signed in to change notification settings - Fork 258
Prevent installing crossbeam-channel with default-features="false"
#550
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,12 +19,14 @@ name = "notify_debouncer_full" | |
| path = "src/lib.rs" | ||
|
|
||
| [features] | ||
| default = ["crossbeam"] | ||
| default = ["crossbeam","macos_fsevent"] | ||
| # can't use dep:crossbeam-channel and feature name crossbeam-channel below rust 1.60 | ||
| crossbeam = ["crossbeam-channel","notify/crossbeam-channel"] | ||
| macos_fsevent = ["notify/macos_fsevent"] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason for masquerading the notify features? We simply let user specify them in their own cargo toml until now.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the past, debouncers used Users were effectively unable to disable This change sets the debouncers' However, leaving it at that would break compatibility for MacOS users, as Therefore, this change to the debouncers' feature set makes Some details - skip if you like: The reasoning has two parts: 1. Not breaking MacOS use by enabling
|
||
| macos_kqueue = ["notify/macos_kqueue"] | ||
|
|
||
| [dependencies] | ||
| notify = { version = "6.1.1", path = "../notify" } | ||
| notify = { version = "6.1.1", path = "../notify", default-features = false } | ||
| crossbeam-channel = { version = "0.5", optional = true } | ||
| file-id = { version = "0.2.1", path = "../file-id" } | ||
| walkdir = "2.2.2" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.