[package] authors = ["TatriX "] name = "realworld" version = "0.5.3" edition = "2018" license = "Unlicense OR MIT" homepage = "https://github.com/TatriX/realworld-rust-rocket" repository = "https://github.com/TatriX/realworld-rust-rocket" documentation = "https://github.com/TatriX/realworld-rust-rocket" description = """ Rust / Rocket codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API. """ readme = "README.md" keywords = ["demo", "web", "realworld", "rocket"] categories = ["web-programming"] [badges] travis-ci = { repository = "TatriX/realworld-rust-rocket" } [dependencies] rocket = { version = "0.4.2", default-features = false } rocket_cors = { version = "0.5.1", default-features = false } serde = { version = "1.0.103", features = ["derive"] } serde_json = "1.0.44" rust-crypto = "0.2.36" chrono = { version = "0.4.10", features = ["serde"] } diesel = { version = "1.4.3", features = ["postgres", "chrono"] } validator = "0.10.0" validator_derive = "0.10.0" slug = "0.1.4" rand = "0.7.2" dotenv = "0.15.0" jsonwebtoken = "6.0.1" [dependencies.rocket_contrib] version = "0.4.2" default-features = false features = ["json", "diesel_postgres_pool"] [dev-dependencies] once_cell = "1.2.0" [features] default = ["random-suffix"] # Enable generation of random suffix when making article slug. This # allows having multiple articles with the same title. random-suffix = []