14 releases

Uses old Rust 2015

0.4.0 Nov 14, 2017
0.3.0 Jan 11, 2017
0.2.1 Oct 30, 2016
0.2.0 Jul 23, 2016
0.0.1 Dec 3, 2014

#480 in HTTP server

Download history 877/week @ 2024-07-22 901/week @ 2024-07-29 901/week @ 2024-08-05 1455/week @ 2024-08-12 974/week @ 2024-08-19 1014/week @ 2024-08-26 1097/week @ 2024-09-02 853/week @ 2024-09-09 882/week @ 2024-09-16 1143/week @ 2024-09-23 891/week @ 2024-09-30 317/week @ 2024-10-07 961/week @ 2024-10-14 1264/week @ 2024-10-21 821/week @ 2024-10-28 885/week @ 2024-11-04

3,961 downloads per month
Used in 51 crates (17 directly)

MIT license

12KB
161 lines

persistent Build Status

Persistent storage as middleware for the Iron web framework.

  • Share persistent data across requests
  • Read or modify locally stored data

Use this if you are currently thinking about using std::sync::Arc to share state between request handlers.

Installation

If you're using a Cargo.toml to manage dependencies, just add persistent to the toml:

[dependencies]
persistent = "x.y.z"  # Insert current version here

Otherwise, cargo build, and the rlib will be in your target directory.

Documentation

Along with the online documentation, you can build a local copy with make doc.

Examples

Get Help

One of us (@reem, @zzmp, @theptrk, @mcreinhard) is usually on #iron on the mozilla irc. Come say hi and ask any questions you might have. We are also usually on #rust and #rust-webdev.

Dependencies

~5MB
~109K SLoC