57 releases

0.8.4 Mar 23, 2024
0.8.0 Jan 12, 2024
0.7.1 Dec 21, 2023
0.5.0-rc.2 Dec 30, 2022
0.1.0-alpha Jun 28, 2020

#23 in #request-body

Download history 1721/week @ 2023-12-18 790/week @ 2023-12-25 1459/week @ 2024-01-01 1217/week @ 2024-01-08 1086/week @ 2024-01-15 430/week @ 2024-01-22 357/week @ 2024-01-29 141/week @ 2024-02-05 145/week @ 2024-02-12 205/week @ 2024-02-19 216/week @ 2024-02-26 116/week @ 2024-03-04 291/week @ 2024-03-11 367/week @ 2024-03-18 109/week @ 2024-03-25 286/week @ 2024-04-01

1,084 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

~7–20MB
~267K SLoC