1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-22 20:52:27 +00:00

update itertools to 0.10 and mark it as optional

This commit is contained in:
Dominic 2020-12-28 18:11:29 +01:00
parent 8a8e01e757
commit 7851b50bcd
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -28,7 +28,7 @@ gotham_derive = "0.5.0"
gotham_middleware_diesel = { version = "0.2.0", optional = true }
gotham_restful_derive = { version = "0.1.0" }
indexmap = { version = "1.3.2", optional = true }
itertools = "0.9.0"
itertools = { version = "0.10.0", optional = true }
jsonwebtoken = { version = "7.1.0", optional = true }
log = "0.4.8"
mime = "0.3.16"
@ -47,7 +47,7 @@ trybuild = "1.0.27"
[features]
default = ["cors", "errorlog"]
auth = ["gotham_restful_derive/auth", "base64", "cookie", "jsonwebtoken"]
cors = []
cors = ["itertools"]
errorlog = []
database = ["gotham_restful_derive/database", "gotham_middleware_diesel"]
openapi = ["gotham_restful_derive/openapi", "indexmap", "openapiv3"]