# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] name = "limiting-factor" version = "0.8.0" authors = ["Sébastien Santoro "] description = "Library to create a REST API with Diesel and Rocket" readme = "README.md" keywords = [ "Diesel", "API", "Rocket", "REST", ] categories = ["web-programming"] license = "BSD-2-Clause" repository = "https://devcentral.nasqueron.org/source/limiting-factor/" [dependencies.diesel] version = "^1.4.8" features = [ "postgres", "r2d2", "chrono", ] optional = true [dependencies.dotenv] version = "^0.15.0" [dependencies.log] version = "^0.4.14" [dependencies.r2d2] version = "^0.8.10" optional = true [dependencies.rocket] version = "^0.4.11" [dependencies.rocket_contrib] version = "^0.4.11" features = ["json"] [dependencies.serde] version = "^1.0.159" features = ["derive"] optional = true [features] default = ["minimal"] full = [ "pgsql", "serialization", ] minimal = ["serialization"] pgsql = [ "diesel", "r2d2", ] serialization = ["serde"]