1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 14:57:01 +00:00

add chrono support

This commit is contained in:
Dominic 2019-10-01 01:11:43 +02:00
parent 887d874063
commit 84ff8acc68
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
3 changed files with 29 additions and 3 deletions

View file

@ -16,6 +16,7 @@ repository = "https://gitlab.com/msrd0/gotham-restful"
gitlab = { repository = "msrd0/gotham-restful", branch = "master" }
[dependencies]
chrono = { version = "0.4", optional = true }
failure = "0.1"
futures = "0.1"
gotham = "0.4"
@ -34,5 +35,5 @@ log = "0.4"
log4rs = { version = "0.8", features = ["console_appender"], default-features = false }
[features]
default = ["openapi"]
default = ["openapi", "chrono"]
openapi = ["indexmap", "log", "openapiv3"]