I need to use an existing nodejs library from my Rust project and I am thinking of adding the node library as a git subtree and execute node whatever.js
commands from Rust. But this doesn't seem ideal to me...
Is there any better way of embedding a nodejs library in my Rust project so I can call functions from that library in my Rust application?
最终在 Rust 和 Node 之间使用 IPC。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.