1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-23 13:02:28 +00:00
deprecated-gotham-restful/Cargo.toml

61 lines
1.8 KiB
TOML
Raw Normal View History

2019-09-26 17:24:40 +02:00
# -*- eval: (cargo-minor-mode 1) -*-
2019-10-02 10:59:25 +02:00
[workspace]
2020-05-05 23:18:05 +02:00
members = ["derive", "example"]
[package]
name = "gotham_restful"
2020-10-02 14:21:56 +02:00
version = "0.1.0"
2020-05-05 23:18:05 +02:00
authors = ["Dominic Meiser <git@msrd0.de>"]
edition = "2018"
description = "RESTful additions for the gotham web framework"
keywords = ["gotham", "rest", "restful", "web", "http"]
license = "EPL-2.0 OR Apache-2.0"
readme = "README.md"
repository = "https://gitlab.com/msrd0/gotham-restful"
[badges]
gitlab = { repository = "msrd0/gotham-restful", branch = "master" }
[dependencies]
2020-10-02 13:37:33 +02:00
base64 = { version = "0.13.0", optional = true }
chrono = { version = "0.4.19", features = ["serde"], optional = true }
cookie = { version = "0.14", optional = true }
futures-core = "0.3.7"
futures-util = "0.3.7"
gotham = { version = "0.5.0", default-features = false }
gotham_derive = "0.5.0"
gotham_middleware_diesel = { version = "0.2.0", optional = true }
2020-10-02 14:21:56 +02:00
gotham_restful_derive = { version = "0.1.0" }
2020-05-05 23:18:05 +02:00
indexmap = { version = "1.3.2", optional = true }
itertools = "0.9.0"
jsonwebtoken = { version = "7.1.0", optional = true }
log = "0.4.8"
mime = "0.3.16"
2020-05-20 23:55:19 +02:00
openapiv3 = { version = "0.3.2", optional = true }
serde = { version = "1.0.110", features = ["derive"] }
2020-10-02 13:37:33 +02:00
serde_json = "1.0.58"
2020-05-05 23:18:05 +02:00
uuid = { version = "0.8.1", optional = true }
[dev-dependencies]
diesel = { version = "1.4.4", features = ["postgres"] }
2020-05-20 23:55:19 +02:00
futures-executor = "0.3.5"
paste = "1.0"
thiserror = "1.0.18"
2020-05-20 23:55:19 +02:00
trybuild = "1.0.27"
2020-05-05 23:18:05 +02:00
[features]
2020-05-14 23:30:59 +02:00
default = ["cors", "errorlog"]
2020-05-05 23:18:05 +02:00
auth = ["gotham_restful_derive/auth", "base64", "cookie", "jsonwebtoken"]
2020-05-13 19:10:53 +02:00
cors = []
2020-05-05 23:18:05 +02:00
errorlog = []
database = ["gotham_restful_derive/database", "gotham_middleware_diesel"]
openapi = ["gotham_restful_derive/openapi", "indexmap", "openapiv3"]
[package.metadata.docs.rs]
all-features = true
2019-10-20 17:42:33 +02:00
[patch.crates-io]
2020-05-05 23:18:05 +02:00
gotham_restful = { path = "." }
gotham_restful_derive = { path = "./derive" }