Cargo Features

actix-web-opentelemetry has no features set by default.

[dependencies]
actix-web-opentelemetry = { version = "0.17.0", features = ["metrics", "metrics-prometheus", "sync-middleware", "awc"] }
metrics metrics-prometheus?

Enables metrics of opentelemetry

metrics-prometheus = metrics, opentelemetry-prometheus, prometheus
sync-middleware

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.

awc implicit feature

Enables awc

awc:

Async HTTP and WebSocket client library

opentelemetry-prometheus metrics-prometheus?
prometheus metrics-prometheus?