42 releases

0.4.1 May 12, 2019
0.4.0 Dec 6, 2018
0.4.0-rc.1 Oct 31, 2018
0.3.15 Jul 16, 2018
0.1.3 Dec 31, 2016

#116 in Web programming

Download history 2139/week @ 2019-01-27 2747/week @ 2019-02-03 2211/week @ 2019-02-10 2483/week @ 2019-02-17 2240/week @ 2019-02-24 2976/week @ 2019-03-03 2291/week @ 2019-03-10 2168/week @ 2019-03-17 2732/week @ 2019-03-24 3161/week @ 2019-03-31 3765/week @ 2019-04-07 3623/week @ 2019-04-14 3334/week @ 2019-04-21 3151/week @ 2019-04-28 3065/week @ 2019-05-05

12,187 downloads per month
Used in 45 crates (41 directly)

MIT/Apache

698KB
8K SLoC


lib.rs:

This crate contains officially sanctioned contributor libraries that provide functionality commonly used by Rocket applications.

These libraries are always kept in-sync with the core Rocket library. They provide common, but not fundamental, abstractions to be used by Rocket applications.

Each module in this library is held behind a feature flag, with the most common modules exposed by default. The present feature list is below, with an asterisk next to the features that are enabled by default:

The recommend way to include features from this crate via Cargo in your project is by adding a [dependencies.rocket_contrib] section to your Cargo.toml file, setting default-features to false, and specifying features manually. For example, to use the JSON module, you would add:

[dependencies.rocket_contrib]
version = "0.4.1"
default-features = false
features = ["json"]

This crate is expected to grow with time, bringing in outside crates to be officially supported by Rocket.

Dependencies

~10MB
~189K SLoC