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:
parent
887d874063
commit
84ff8acc68
3 changed files with 29 additions and 3 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue