Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Disable notify crossbeam When Using Tokio

  • Add screenshot from 2023-09-07 1:53am

Code

notify = { version = "6.1.1", default-features = false, features = ["macos_kqueue"] }

References

  • The following crate features can be turned on or off in your cargo dependency config:

    crossbeam enabled by default, adds DebounceEventHandler support for crossbeam channels. Also enables crossbeam-channel in the re-exported notify. You may want to disable this when using the tokio async runtime.