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