docs.rs failed to build limiting-factor-0.3.0
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.
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.
Visit the last successful build:
limiting-factor-0.8.0
The limiting-factor crate offers facilities to implement a REST API.
Goal
The goal of this library is to provide:
- glue code for Rocket and Diesel
- standard API replies
- boilerplate to parse environment to extract configuration and run a server
That allows an API or a back-end web server to focus on requests and data model, and to maintain helper methods as a separate library.
Dependencies
- Diesel, as PostgreSQL ORM, with r2d2 support to pool connections
- Rocket, as web framework
- Chrono, for date and time types
Credits
The glue code to use Rocket with Diesel is adapted from the Rocket guide. See https://rocket.rs/guide/state/#databases. Guide author: Sergio Benitez.