Cargo Features

[dependencies]
vkteams-bot = { version = "0.9.0", default-features = false, features = ["full", "longpoll", "webhook", "templates", "grpc", "otlp", "ratelimit"] }
default = longpoll

The longpoll feature is set by default whenever vkteams-bot is added without default-features = false somewhere in the dependency tree.

full = grpc, longpoll, otlp, ratelimit, templates, webhook
longpoll default full?

Affects bot::longpoll

webhook full?

Enables async-trait, axum, and tower-http

Affects bot::webhook

templates full?

Enables tera

Affects utils::templates

grpc full?

Enables tonic and tonic-health

Affects bot::grpc

otlp full?

Enables opentelemetry, opentelemetry-otlp, opentelemetry-semantic-conventions, opentelemetry_sdk, tracing-opentelemetry, and tracing-subscriber

Affects types::Config.otlp, vkteams-bot::otlp

ratelimit full?

Affects bot::ratelimit, types::Config.rate_limit