Cargo Features

node-bindgen = { version = "6.0.1", default-features = false, features = ["node", "build", "serde-json", "uuid"] }
default = node

The node feature is set by default whenever node-bindgen is added without default-features = false somewhere in the dependency tree.

node default = nj-core, nj-derive, nj-sys

Affects node-bindgen::core, node-bindgen::sys, node-bindgen::init, node-bindgen::derive

build = nj-build

Affects node-bindgen::build


Enables serde-json of nj-core


Enables convert-uuid of nj-core

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

nj-sys node
nj-core node serde-json? uuid?
nj-build build?
nj-derive node