Description
What problem does this solve or what need does it fill?
The ability to use Taffy from languages other than Rust.
What solution would you like?
Official C bindings maintained in the Taffy repository.
Additional context
- Most languages have facilities to bind to C libraries, so a C API not only allows Taffy to be used from C/C++/Objective-C, but makes it much easier for people to create bindings to other languages that don't (yet) have their own bindings.
Prior Art
-
Yoga's C API (https://github.com/facebook/yoga/blob/48d82224ee34fd60ad21ab90a2c38dd4cfb1fdb4/docs/_docs/api/c.md)
-
Stretch's C bindings (https://github.com/vislyhq/stretch/blob/master/bindings/swift/StretchCore/src/lib.rs)
-
Taffy C bindings created for NativeScript-Mason (https://github.com/triniwiz/nativescript-mason/tree/main/packages/nativescript-masonkit/src-native)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress