Cargo Features
[dependencies]
gotcha = { version = "0.2.2", default-features = false, features = ["prometheus", "openapi", "static_files"] }
- default = openapi
-
The
openapi
feature is set by default whenevergotcha
is added without
somewhere in the dependency tree.default-features = false - prometheus
-
Enables axum-prometheus ^0.7.0
Affects
gotcha::prometheus
… - openapi default
-
Enables oas
Affects
gotcha::openapi
,router::extract_operable
… - cors static_files
-
Enables tower-http