Cargo Features
[dependencies]
mosquitto-client-wrapper = { version = "0.3.1", default-features = false, features = ["bundled", "build_bindgen"] }
- default = bundled
-
The
bundled
feature is set by default whenevermosquitto-client-wrapper
is added without
somewhere in the dependency tree.default-features = false - bundled default = anyhow, build_bindgen, cmake
- build_bindgen bundled = bindgen
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.
- cmake build bundled
- bindgen build build_bindgen?
-
Enables bindgen ^0.50
- anyhow build bundled