Cargo Features

[dependencies]
janus-kafka = { version = "0.4.1", default-features = false, features = ["tokio-rt", "serde1", "instrumented"] }
default = tokio-rt

The tokio-rt feature is set by default whenever janus-kafka is added without default-features = false somewhere in the dependency tree.

tokio-rt default

Enables tokio of rdkafka ^0.25

serde1 = serde
instrumented = prometheus

Affects janus-kafka::instrumented_publisher_ack_handler, janus-kafka::instrumented_subscriber_ack_handler

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.

prometheus instrumented?

Enables prometheus ^0.11

serde serde1?