Cargo Features

[dependencies]
event-notification = { version = "0.4.1", default-features = false, features = ["webhook", "kafka", "mqtt", "http-producer"] }
default = webhook

The webhook feature is set by default whenever event-notification is added without default-features = false somewhere in the dependency tree.

webhook default

Enables reqwest

kafka = rdkafka
mqtt = rumqttc
http-producer

Enables axum

Affects producer::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.

rdkafka kafka?
rumqttc mqtt?