From 1d798b3b72530a9d7dde9d51b2703397aee0f31d Mon Sep 17 00:00:00 2001 From: SteveMcFarlin Date: Thu, 19 Oct 2023 19:27:59 +0000 Subject: [PATCH] Update the readme to add default-features = false (#272) Without `default-features = false` some Linux users may encounter build issues. The examples have included this in the Cargo.toml files, but if you are like me I copyed from the README while working on MacOS, and then encounterd this issue later on when working on Linux. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c3c1db30..1ed7c2a4 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ node-bindgen = { version = "6.0" } Then add ```node-bindgen```'s procedure macro to your build-dependencies as below: ``` [build-dependencies] -node-bindgen = { version = "6.0", features = ["build"] } +node-bindgen = { version = "6.0", default-features = false, features = ["build"] } ``` Then update crate type to ```cdylib``` to generate node.js compatible native module: