Feature and API map
This page navigates the crate's public surface. Use docs.rs as the source of truth for exact trait bounds, method signatures, and Rustdoc.
Defaults and core
Application and DI
HTTP and pipeline
Validation, OpenAPI, and views
Optional application modules
WebSocket and message transports
Attribute macro index
Application declarations
module, injectable, controller, websocket_gateway, message_controller, event_listener, schedule.
HTTP methods and extraction
all, get, post, put, patch, delete, head, options, their JSON variants, sse, body, request, param, params, query, header, headers, cookie, cookies, host_param, ip, extract, res, uploaded_file, uploaded_files.
Routing and responses
host, http_code, redirect, render, serialize, version, versions, version_neutral, validate, skip_validation, metadata, cache_key, cache_ttl.
Pipeline
use_guard, use_interceptor, use_pipe, use_filter, catch, apply_decorators.
OpenAPI and authentication
operation, tag, request_body, api_param, api_query, api_header, api_response_header, api_extension, api_extra_model, hide_from_openapi, bearer_auth, api_security, api_cookie_auth, api_key_auth, oauth2_auth, open_id_connect_auth.
WebSocket, messages, events, and scheduling
subscribe_message, message_body, payload, message_pattern, event_pattern, on_gateway_init, on_gateway_connection, on_gateway_disconnect, on_event, cron, interval, timeout.
Feature selection rules
- Start with defaults and add a module only for a real boundary.
- A library crate should not force every Boot feature on downstream users.
- Inspect feature unification with
cargo tree -e features -p a3s-boot. - Run focused tests for production combinations, then
cargo check --all-featuresfor a release. - Successful compilation of an external transport feature does not prove its broker is configured correctly.