41 releases

0.4.0 Dec 6, 2018
0.4.0-rc.1 Oct 31, 2018
0.3.15 Jul 16, 2018
0.3.6 Jan 13, 2018
0.1.3 Dec 31, 2016

#9 in Web programming

Download history 1736/week @ 2018-10-21 1923/week @ 2018-10-28 1907/week @ 2018-11-04 2342/week @ 2018-11-11 2185/week @ 2018-11-18 2263/week @ 2018-11-25 2413/week @ 2018-12-02 3060/week @ 2018-12-09 2012/week @ 2018-12-16 1773/week @ 2018-12-23 2020/week @ 2018-12-30 2184/week @ 2019-01-06 1871/week @ 2019-01-13 2480/week @ 2019-01-20 2139/week @ 2019-01-27

8,833 downloads per month
Used in 43 crates (39 directly)

MIT/Apache

695KB
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.0"
default-features = false
features = ["json"]

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

Dependencies

~9.5MB
~185K SLoC