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 wheneverevent-notification
is added without
somewhere in the dependency tree.default-features = false - 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.