Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 2.6 KB

README.md

File metadata and controls

67 lines (49 loc) · 2.6 KB

tower-sessions

User sessions as a `tower` middleware.

TODOs

  • tracing.
  • TEST

Session stores

Session data persistence is managed by user-provided types that implement SessionStore. What this means is that applications can and should implement session stores to fit their specific needs.

That said, a number of session store implmentations already exist and may be useful starting points.

Crate Persistent Description
tower-sessions-redis-store Yes Redis via fred session store

Have a store to add? Please open a PR adding it.

Usage

To use the crate in your project, add the following to your Cargo.toml file:

[dependencies]
tower-sessions = "0.13.0"

You can find this example as well as other example projects in the example directory.

Note

See the crate documentation for more usage information.

Getting Help

We've put together a number of examples to help get you started. You're also welcome to open a discussion and ask additional questions you might have.

👯 Contributing

We appreciate all kinds of contributions, thank you!