vidi-core

Crates.iovidi-core
lib.rsvidi-core
version0.1.0
created_at2025-12-06 20:18:26.333611+00
updated_at2025-12-06 20:18:26.333611+00
descriptionThe core traits and types in for Vidi
homepagehttps://vidi.viz.rs
repositoryhttps://github.com/viz-rs/vidi
max_upload_size
id1970698
size250,987
Fangdun Tsai (fundon)

documentation

https://docs.rs/vidi-core

README

Vidi

Core Components for Vidi

Safety! Docs.rs docs Crates.io version Download

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

Commit count: 0

cargo fmt