How to create mixed JS-Rust projects with NAPI-RS? #1245
Unanswered
chriskilding
asked this question in
Q&A
Replies: 1 comment
-
So I think I'm running into a similar problem... Instead of exposing all my rust functions, I want to write a wrapper over the top, but for some parts, invoked the bindings directly. The way I'm planning on solving this is writing a wrapper that More or less, that's how you'll end up solving your problem: You can specify where you want to save your bindings by specifying the
Where |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment, creating an all-Rust module with NAPI-RS is the main use case. But in some cases we need to have some of our module's code in Javascript, and some in Rust.
The reasons for this might include:
Does NAPI-RS support mixed JS-Rust projects today, and if so how?
Beta Was this translation helpful? Give feedback.
All reactions