cosmic-text
cosmic-text copied to clipboard
Expose public C/C++ API
It is not my desire at this time to provide a C interface for cosmic-text. If you can do the work, though, I would potentially merge it.
At the moment cosmic-text
is pretty unstable and exposes a lot of the implementation details of the underlying crates. If it were me I would wait for greater stability before writing a C API
Is there any updates on this? I would love to use this project in my game engine, but I am not using Rust so I would love to have a C API for this. I am roughly familiar with Rust and would be happy to contribute, but I'm not sure where I would start.
I assume a PR which added this would add the header generation stuff to build.rs
and make any adjustments to the rest of the codebase to make the API interop-friendly. Is "greater API stability" something that will be achieved any time in the near future, or is it more of a long-term goal?