Cargo Features
[dependencies]
node-bindgen = { version = "6.1.0", default-features = false, features = ["node", "build", "serde-json", "uuid"] }
- default = node
-
The
node
feature is set by default whenevernode-bindgen
is added without
somewhere in the dependency tree.default-features = false - 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
… - serde-json
-
Enables serde-json of nj-core
- uuid
-
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.