-
Notifications
You must be signed in to change notification settings - Fork 13
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
Export a C API #84
Comments
I kinda want to leave glib out of the equation, but it could buy so much for us: Language bindings. |
I don't care about other languages. They can create bindings from the exported C API if they want to |
I don't think it's a good idea to try to replace a glib API by not providing a glib API |
I would suggest starting with the simple API, which should be sufficient for most applications and independent of glib, though supporting async operations might be tricky. |
The problem is converting a Rust future to a gio::Task and then wrapping it in a C API would be just painful to maintain and very error-prone. But I leave that to whoever want to implement it to see what is easier to achieve |
To fully replace libsecret. I wouldn't try to make it glib-y as that would be painful, depends on whoever does the work.
The text was updated successfully, but these errors were encountered: