# 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] edition = "2018" name = "rp1" version = "0.3.1" authors = ["Ruben Nijveld ", "Folkert "] description = "Easily generate a REST-like CRUD API using Rocket and Diesel" homepage = "https://github.com/tweedegolf/rp1" documentation = "https://docs.rs/rp1" readme = "../README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/tweedegolf/rp1" [dependencies.diesel] version = "1.4" [dependencies.rocket] version = "0.5.0-rc.1" features = ["json"] [dependencies.rp1-macros] version = "0.3.1" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" features = ["serde-human-readable", "macros"] [dependencies.validator] version = "0.14" features = ["derive"] optional = true [dev-dependencies.diesel] version = "1.4" features = ["postgres", "r2d2", "chrono"] [dev-dependencies.diesel_migrations] version = "1.4" [dev-dependencies.dotenv] version = "0.15" [dev-dependencies.rocket_sync_db_pools] version = "0.1.0-rc.1" features = ["diesel_postgres_pool"] [features] default = ["validation"] validation = ["validator", "rp1-macros/validation"]