Cargo Features
[dependencies]
collectd-plugin = { version = "0.15.0", default-features = false, features = ["stub", "regex_log_filter", "serde", "bindgen"] }
- default = serde
-
The
serde
feature is set by default whenevercollectd-plugin
is added without
somewhere in the dependency tree.default-features = false - stub
- regex_log_filter
-
Enables regex of env_logger ^0.10
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.
- serde default
-
Affects
collectd-plugin::de
,collectd-plugin::ser
… - bindgen build implicit feature
-
Enables bindgen ^0.69.1
bindgen:
Automatically generates Rust FFI bindings to C and C++ libraries