Crate filigree

Source
Expand description

The non-generated components of the Filigree web framework

Modules§

auth
Authentication and Authorization
config
Helpers for parsing configuration
email
Email templates and sending
error_reporting
Interface to error reporting services
error_stack
Utilities for working with error_stack::Report
errors
Error handling
extract
Request extractors
inspect_response
Extension trait to inspect the body of a Reqwest error response
object_id
A UUIDv7-based type for handling object IDs with a more compact representation.
propagate_http_span
Helpers to propagate tracing spans through an HTTP call
query_string
Common query string structures for use with Axum’s Query extractor
requests
Request Handling and Validation
route_services
Services that can be placed in the Axum router
server
Utilities for running an HTTP server
sql
Utilities for working with SQL queries
storage
Cloud object storage
testing
Functionality to help test your app
tracing_config
Tracing configuration
uploads
Helpers to manage file uploads, for use with Storage::save_and_inspect_request_body.
users
Manage users, roles, and related data

Macros§

downref_report_frame
Attempt to downcast_ref a error_stack::Frame into multiple error types, and map the first matching type through a function. The map function should be generic on some trait that the errors all implement, usually HttpError.
make_object_id
Create a new ObjectId type. This automatically implements the prefix structure and creates a type alias for the type.

Structs§

EmailBody
A request body that only contains an email
Message
A simple structure for sending back a message-only response