Cargo Features

[dependencies]
yellowstone-grpc-kafka = { version = "4.0.0", default-features = false, features = ["kafka", "metrics"] }
default = kafka

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

kafka default = async-trait, clap, const-hex, metrics, rdkafka, sha2, tokio-stream, tonic, tonic-health, yellowstone-grpc-client

Affects yellowstone-grpc-kafka::kafka

Required by the grpc-kafka binary

metrics kafka = http, http-body-util, hyper, hyper-util, lazy_static, prometheus, tracing

Affects yellowstone-grpc-kafka::metrics

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.

async-trait kafka
clap kafka
const-hex kafka
http metrics?
http-body-util metrics?
hyper metrics?
hyper-util metrics?
lazy_static metrics?
prometheus metrics?

Enables prometheus ^0.13.2

sha2 kafka
tokio-stream kafka
tonic kafka

Enables tonic ^0.12.1

tonic-health kafka

Enables tonic-health ^0.12.1

tracing metrics?
yellowstone-grpc-client kafka
rdkafka not mac not arm64 mac arm64 kafka

Enables rdkafka ^0.36.2