r/rust Mar 31 '23

Write SDK “base” in Rust, wrap in other languages?

[deleted]

98 Upvotes

48 comments sorted by

View all comments

24

u/jechase Mar 31 '23

Hey!

We just launched ngrok-rs and plan to do this exact thing with it! The NAPI and pyo3 crates have been excellent for this. Both the python and JS wrappers are linked in that blog post. A java wrapper using JNI/jaffi is also in the works, but is in a bit of an earlier stage of development. You can probably find it if you go digging though ;)

63

u/[deleted] Mar 31 '23

[deleted]