Skip to content

Conversation

@madsmtm
Copy link
Contributor

@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).
@octplane octplane merged commit 7cc525c into octplane:main Nov 17, 2025
1 check passed
@octplane
Copy link
Owner

Thank you for these nice contributions. I'm cutting a release soon.

@madsmtm madsmtm deleted the objc2 branch November 17, 2025 22:55
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.

2 participants