Cargo Features
Worker has no features set by default.
[dependencies]
worker = { version = "0.8.0", features = ["queue", "d1", "http", "axum", "timezone", "tokio-postgres"] }
- queue
-
Enables worker-macros and worker-sys
- d1
-
Enables worker-sys
Affects
worker::d1… - http
-
Enables http of worker-macros
Affects
http::body,http::request,http::response,worker::HttpRequest,worker::HttpResponse… - axum
-
Enables axum
- timezone
-
Enables chrono-tz
Features from optional dependencies
- tokio-postgres implicit feature
-
Enables tokio-postgres
tokio-postgres:
A native, asynchronous PostgreSQL client
Affects
socket::postgres_tls…