pub extern "C"
blake-regalia opened this issue · comments
Very cool lib. I have been using similar techniques for extracting data from deterministic JSON strings as fast as I possibly can. Would be great if this library exposed some C-linkable functionality so C/C++ projects can use it. Wouldn't be too much effort, i imagine it would be about mostly just adding some wrapper functions.
Hi @blake-regalia! 👋 Thanks for reaching out. We could definitely look at adding some C bindings to the project. It wasn't originally written with C interop in mind so I'm not sure how nice the Document
API would be to use from C (it uses a lot of Cow
s and Iterator
s), but it could be fun to explore!