mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
Replace aioredis with redis-py
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "fastapi-cache2"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
description = "Cache for FastAPI"
|
||||
authors = ["long2ice <long2ice@gmail.com>"]
|
||||
license = "Apache-2.0"
|
||||
@@ -18,7 +18,7 @@ include = ["LICENSE", "README.md"]
|
||||
python = "^3.7"
|
||||
fastapi = "*"
|
||||
uvicorn = "*"
|
||||
aioredis = {version = "^2.0", optional = true}
|
||||
redis = {version = "^4.2.0rc1", optional = true}
|
||||
aiomcache = {version = "*", optional = true}
|
||||
pendulum = "*"
|
||||
aiobotocore = {version = "^1.4.1", optional = true}
|
||||
@@ -38,7 +38,7 @@ build-backend = "poetry.masonry.api"
|
||||
redis = ["aioredis"]
|
||||
memcache = ["aiomcache"]
|
||||
dynamodb = ["aiobotocore"]
|
||||
all = ["aioredis","aiomcache"]
|
||||
all = ["redis","aiomcache"]
|
||||
|
||||
[tool.black]
|
||||
line-length = 100
|
||||
|
||||
Reference in New Issue
Block a user