zed/crates/fsevent/Cargo.toml
Conrad Irwin 6b55a6f0e1
Retain run loop (#11241)
Contributes: #11168


https://developer.apple.com/documentation/corefoundation/1542428-cfrunloopgetcurrent
implies that we should be `CFRetain`ing the run loop.

Lets do that, and see if it reduces the number of crashes we see.

Release Notes:

- (maybe) Fix a rare crash in watching settings files.
2024-04-30 23:31:59 -06:00

28 lines
464 B
TOML

[package]
name = "fsevent"
version = "0.1.0"
edition = "2021"
publish = false
license = "GPL-3.0-or-later"
[lints]
workspace = true
[lib]
path = "src/fsevent.rs"
doctest = false
[dependencies]
bitflags.workspace = true
parking_lot.workspace = true
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation.workspace = true
fsevent-sys = "3.0.2"
[dev-dependencies]
tempfile.workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-apple-darwin"]