Skip to content

Conversation

@madsmtm
Copy link

@madsmtm madsmtm commented Oct 28, 2025

Use objc2-core-foundation as a replacement for the soft-deprecated core-foundation, and use objc2-core-services, which is an automatically generated binding to CoreServices that contains (amongst others) the entire FSEvents API.

Using an automatically generated binding avoids issues like #47. I've marked fsevents-sys as deprecated since it is completely superseded by objc2-core-services, it can be removed completely after the next release.

Spiritual follow-up to #44.

There shouldn't be any supply-chain issues with this, fsevents-sys already depends on dispatch2, which lives in the same repository as the objc2-* crates (all of which I maintain).

`objc2-core-foundation` replaces the soft-deprecated `core-foundation`,
and `objc2-core-services`` is an automatically generated replacement for
`fsevent-sys` (amongst others).
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.

1 participant