Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
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:
- json* - JSON (de)serialization
- serve* - Static File Serving
- msgpack - MessagePack (de)serialization
- handlebars_templates - Handlebars Templating
- tera_templates - Tera Templating
- uuid - UUID (de)serialization
- ${database}_pool - Database Configuration and Pooling
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:
[]
= "0.4.0-rc.1"
= false
= ["json"]
This crate is expected to grow with time, bringing in outside crates to be officially supported by Rocket.