Cargo Features

[dependencies]
collectd-plugin = { version = "0.14.0", default-features = false, features = ["stub", "regex_log_filter", "serde", "bindgen"] }
default = serde

The serde feature is set by default whenever collectd-plugin is added without default-features = false somewhere in the dependency tree.

stub
regex_log_filter

Enables regex of env_logger ^0.8

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.58.1

bindgen:

Automatically generates Rust FFI bindings to C and C++ libraries