63 releases

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

#2229 in Asynchronous

Download history 76/week @ 2025-01-18 75/week @ 2025-01-25 161/week @ 2025-02-01 148/week @ 2025-02-08 236/week @ 2025-02-15 195/week @ 2025-02-22 159/week @ 2025-03-01 112/week @ 2025-03-08 1141/week @ 2025-03-15 182/week @ 2025-03-22 110/week @ 2025-03-29 127/week @ 2025-04-05 201/week @ 2025-04-12 222/week @ 2025-04-19 73/week @ 2025-04-26 21/week @ 2025-05-03

560 downloads per month
Used in 12 crates (9 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–18MB
~255K SLoC