Skip to content
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

Implement the Security framework? #596

Closed
grahamc opened this issue Mar 28, 2024 · 5 comments
Closed

Implement the Security framework? #596

grahamc opened this issue Mar 28, 2024 · 5 comments
Labels
A-framework Affects the framework crates and the translator for them question Further information is requested

Comments

@grahamc
Copy link

grahamc commented Mar 28, 2024

Hi,

Taking a brief look at this, it looks really nice to expose the libraries so directly. It looks like the Security frameworks have not been included, but I also haven't seen any mention about why in any issue. Is this a task that is not yet done, but also maybe not too hard? Or is this likely to be a very challenging task? I'm happy and able to help.

Thank you!

@madsmtm madsmtm added question Further information is requested A-framework Affects the framework crates and the translator for them labels Mar 28, 2024
@madsmtm
Copy link
Owner

madsmtm commented Mar 28, 2024

It hasn't been included because it needs types from CoreFoundation, and header-translator is not set up to handle that yet (since it's a challenging task, see #556 for some of it).

@madsmtm
Copy link
Owner

madsmtm commented Mar 28, 2024

See the security-framework crate for manually written bindings

@madsmtm
Copy link
Owner

madsmtm commented May 17, 2024

I've added a bit more information on how to interop with such crates in eb39164.

Interfacing with CoreFoundation-like frameworks is tracked in #556, so am going to close this.

@madsmtm madsmtm closed this as completed May 17, 2024
@madsmtm
Copy link
Owner

madsmtm commented Jan 9, 2025

Update: I've added support for CoreFoundation-like frameworks now, so I'll re-open this to track adding the Security framework specifically.

@madsmtm madsmtm reopened this Jan 9, 2025
@madsmtm
Copy link
Owner

madsmtm commented Jan 12, 2025

Aaaand I managed to get it compiling in 161404a, required a bit of work to get header-translator to handle unions correctly.

Will be released in the next version, which should be relatively soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-framework Affects the framework crates and the translator for them question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants