63 releases

new 0.10.0 Dec 28, 2024
0.9.0 Oct 3, 2024
0.8.8 Jun 23, 2024
0.8.4 Mar 23, 2024
0.1.0-alpha Jun 28, 2020

#33 in #request-body

Download history 363/week @ 2024-09-02 227/week @ 2024-09-09 230/week @ 2024-09-16 372/week @ 2024-09-23 365/week @ 2024-09-30 230/week @ 2024-10-07 108/week @ 2024-10-14 204/week @ 2024-10-21 75/week @ 2024-10-28 148/week @ 2024-11-04 107/week @ 2024-11-11 170/week @ 2024-11-18 109/week @ 2024-11-25 118/week @ 2024-12-02 234/week @ 2024-12-09 82/week @ 2024-12-16

555 downloads per month
Used in 11 crates (8 directly)

MIT license

190KB
5K SLoC

Viz

Core Components for Viz

Built-in Extractors

Extractor Description
Cookies Extracts the cookies from the request.
Form Extracts from-data from the body of a request.
Header Extracts a header from the headers of a request.
Json Extracts JSON data from the body of a request, or responds a JSON data to response.
Limits Extracts the limits settings.
Multipart Extracts the data from the multipart body of a request.
Params Extracts params from the path of a URL.
Query Extracts the data from the query string of a URL.
Session A session for the current request.
State Extracts state from the extensions of a request.
Websocket A WebSocket connection.

Built-in Middleware

Middleware Description
cookie Cookie
cors CORS
csrf CSRF
limits Limits
session Session
compression Compression
otel::tracing OpenTelemetry Tracing
otel::metrics OpenTelemetry Metrics

License

This project is licensed under the MIT license.

Author

Dependencies

~6–17MB
~249K SLoC