Cargo Features
[dependencies]
npm_client = { version = "0.13.0", default-features = false, features = ["serde", "http"] }
- default = http
-
The
http
feature is set by default whenevernpm_client
is added without
somewhere in the dependency tree.default-features = false - serde http
- http default = serde, url
-
Enables reqwest ^0.11.14 and serde_json
Affects
npm_client::http
…
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.