2019-10-02 10:59:25 +02:00
|
|
|
# -*- eval: (cargo-minor-mode 1) -*-
|
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "gotham_restful"
|
2020-04-15 23:01:21 +02:00
|
|
|
version = "0.0.5-dev"
|
2019-10-02 10:59:25 +02:00
|
|
|
authors = ["Dominic Meiser <git@msrd0.de>"]
|
|
|
|
edition = "2018"
|
|
|
|
description = "RESTful additions for Gotham"
|
|
|
|
keywords = ["gotham", "rest", "restful"]
|
2019-10-20 16:55:45 +02:00
|
|
|
license = "EPL-2.0 OR Apache-2.0"
|
2019-10-27 22:29:59 +01:00
|
|
|
readme = "README.md"
|
2019-10-02 10:59:25 +02:00
|
|
|
repository = "https://gitlab.com/msrd0/gotham-restful"
|
|
|
|
|
|
|
|
[badges]
|
|
|
|
gitlab = { repository = "msrd0/gotham-restful", branch = "master" }
|
|
|
|
|
|
|
|
[dependencies]
|
2020-04-14 17:44:07 +02:00
|
|
|
base64 = { version = "0.12.0", optional = true }
|
2020-04-15 23:15:13 +02:00
|
|
|
chrono = { version = "0.4.11", optional = true }
|
2020-04-14 17:44:07 +02:00
|
|
|
cookie = { version = "0.13.3", optional = true }
|
|
|
|
futures-core = "0.3.4"
|
|
|
|
futures-util = "0.3.4"
|
|
|
|
gotham = { git = "https://github.com/gotham-rs/gotham", version = "0.5.0-dev", default-features = false }
|
|
|
|
gotham_derive = { git = "https://github.com/gotham-rs/gotham", version = "0.5.0-dev" }
|
|
|
|
gotham_middleware_diesel = { git = "https://github.com/gotham-rs/gotham", version = "0.1.0", optional = true }
|
2020-04-15 23:01:21 +02:00
|
|
|
gotham_restful_derive = { version = "0.0.4-dev" }
|
2020-04-15 23:15:13 +02:00
|
|
|
indexmap = { version = "1.3.2", optional = true }
|
2020-04-25 18:31:57 +00:00
|
|
|
itertools = "0.9.0"
|
2020-04-14 17:44:07 +02:00
|
|
|
jsonwebtoken = { version = "7.1.0", optional = true }
|
2020-04-26 22:34:22 +02:00
|
|
|
log = "0.4.8"
|
2020-01-24 17:59:20 +01:00
|
|
|
mime = "0.3.16"
|
2019-10-02 10:59:25 +02:00
|
|
|
openapiv3 = { version = "0.3", optional = true }
|
2020-04-15 23:15:13 +02:00
|
|
|
serde = { version = "1.0.106", features = ["derive"] }
|
|
|
|
serde_json = "1.0.51"
|
2020-04-25 18:31:57 +00:00
|
|
|
thiserror = "1.0.15"
|
2019-10-20 18:23:36 +02:00
|
|
|
uuid = { version = ">= 0.1, < 0.9", optional = true }
|
2019-10-02 10:59:25 +02:00
|
|
|
|
2019-10-14 02:17:25 +02:00
|
|
|
[dev-dependencies]
|
2020-05-04 21:34:20 +02:00
|
|
|
diesel = { version = "1.4.4", features = ["postgres"] }
|
2020-04-14 17:44:07 +02:00
|
|
|
futures-executor = "0.3.4"
|
2020-04-13 02:46:01 +02:00
|
|
|
paste = "0.1.10"
|
2019-10-14 02:17:25 +02:00
|
|
|
|
2019-10-02 10:59:25 +02:00
|
|
|
[features]
|
2020-05-04 21:34:20 +02:00
|
|
|
default = ["errorlog"]
|
2020-01-22 16:53:02 +00:00
|
|
|
auth = ["gotham_restful_derive/auth", "base64", "cookie", "jsonwebtoken"]
|
2020-02-10 21:41:44 +01:00
|
|
|
errorlog = []
|
2020-01-14 03:27:49 +01:00
|
|
|
database = ["gotham_restful_derive/database", "gotham_middleware_diesel"]
|
2020-04-26 22:34:22 +02:00
|
|
|
openapi = ["gotham_restful_derive/openapi", "indexmap", "openapiv3"]
|
2020-01-25 14:11:57 +01:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|