Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: migrate to Rust and N-API #79

Merged
merged 21 commits into from
Jan 26, 2023
Merged

build: migrate to Rust and N-API #79

merged 21 commits into from
Jan 26, 2023

Conversation

AlCalzone
Copy link
Owner

@AlCalzone AlCalzone commented Jan 21, 2023

This PR fixes a long-standing issue where this lib is necessary for Electron applications using node-coap-client or node-tradfri-client, but installation failed or was prevented by the preinstall script.
Also our dependencies were outdated, so we couldn't simply prebuild on newer Node versions.

By switching from C++ to Rust, targeting the N-API using napi-rs and releasing pre-compiled binaries we avoid all this (hopefully).

fixes: #71

@AlCalzone AlCalzone merged commit dede86d into master Jan 26, 2023
@AlCalzone AlCalzone deleted the rust branch January 26, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to Github Actions
1 participant