Comments (4)
I believe electron app is working as you can the example here: https://github.com/infinyon/node-bindgen/tree/master/examples/electron. Have you tried?
from node-bindgen.
I can confirm that electron support works pretty well, in both windows and linux. Just make sure that you are compiling the rust module using npx electron-build-env nj-cli build --release
, otherwise you can get error "A dynamic link library (DLL) initialization routine failed" when importing the rust module in electron. I missed this detail in my electron app and it was very hard to debug, I think you should add it to the README.
from node-bindgen.
Definitely, thanks for confirmation.
from node-bindgen.
add to README. closing issue
from node-bindgen.
Related Issues (20)
- Clippy lints for rust 1.53 fails on procmacros HOT 4
- Add `impl JsValue` and `impl TryToJs` for `HashMap<String, T>`
- Unable to run Rust unittests on binded library HOT 5
- Support M1 as platform HOT 7
- Latest `nj-cli` not published HOT 2
- Generate wrappers for external libraries? HOT 4
- Tokio runtime in node.js? HOT 6
- add donate button
- fetch support? HOT 1
- JS namespaces (modules) HOT 1
- 0.4.2 fails to build. HOT 2
- Expecting compiler error when using &str as parameter
- Build issue starting from rust 1.62.x HOT 5
- update inventory to 0.3
- update nj-sys using latest version of bindgen
- fix CI for windows
- Build on windows failed ( > node 18.x.x) HOT 6
- Create new release 5.1.0 for current version on master HOT 2
- undefined reference to `napi_...` issues HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-bindgen.