@@ -31,22 +31,12 @@ classifiers = [
3131]
3232dependencies = [
3333 " eval-type-backport>=0.2" ,
34- " fastapi>=0.100" ,
35- " fastapi-offline-docs>=1" ,
36- " granian>=1" ,
37- " health-checks>=1" ,
38- " litestar>=2.9" ,
39- " litestar-offline-docs>=1" ,
4034 " opentelemetry-api>=1.25.0" ,
4135 " opentelemetry-exporter-otlp>=1.25.0" ,
4236 " opentelemetry-exporter-prometheus-remote-write>=0.46b0" ,
4337 " opentelemetry-instrumentation>=0.46b0" ,
44- " opentelemetry-instrumentation-asgi>=0.46b0" ,
45- " opentelemetry-instrumentation-fastapi>=0.46b0" ,
4638 " opentelemetry-instrumentation-system-metrics>=0.46b0" ,
4739 " opentelemetry-sdk>=1.25.0" ,
48- " prometheus-client>=0.20" ,
49- " prometheus-fastapi-instrumentator>=6.1" ,
5040 " pydantic-settings>=2" ,
5141 " rich>=13" ,
5242 " sentry-sdk>=2.7" ,
@@ -55,6 +45,24 @@ dependencies = [
5545dynamic = [" version" ]
5646authors = [{ name = " community-of-python" }]
5747
48+ [project .optional-dependencies ]
49+ fastapi = [
50+ " fastapi>=0.100" ,
51+ " fastapi-offline-docs>=1" ,
52+ " health-checks>=1" ,
53+ " opentelemetry-instrumentation-asgi>=0.46b0" ,
54+ " opentelemetry-instrumentation-fastapi>=0.46b0" ,
55+ " prometheus-fastapi-instrumentator>=6.1" ,
56+ ]
57+ litestar = [
58+ " litestar>=2.9" ,
59+ " litestar-offline-docs>=1" ,
60+ " health-checks>=1" ,
61+ " opentelemetry-instrumentation-asgi>=0.46b0" ,
62+ " prometheus-client>=0.20" ,
63+ ]
64+ granian = [" granian[reload]>=1" ]
65+
5866[dependency-groups ]
5967dev = [
6068 " anyio>=4.8.0" ,
0 commit comments