We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
README.md
1 parent 88b7579 commit 59ef306Copy full SHA for 59ef306
crates/crates_io_session/README.md
@@ -0,0 +1,7 @@
1
+# crates_io_session
2
+
3
+This package contains a `SessionExtension` extractor for the
4
+[`axum`](https://docs.rs/axum) web framework and a corresponding
5
+`attach_session()` middleware based on a signed `cargo_session` cookie.
6
+This abstraction allows us to save and retrieve data from the session
7
+cookie in a safe way.
crates/crates_io_session/src/lib.rs
@@ -1,3 +1,5 @@
+#![doc = include_str!("../README.md")]
use axum::extract::{Extension, FromRequestParts, Request};
use axum::middleware::Next;
use axum::response::{IntoResponse, Response};
0 commit comments