aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-03-24 08:15:52 +0000
committerGravatar Chris Lovering <[email protected]>2022-03-31 20:53:41 +0100
commit2383754743b9a00d55c35e93efa5b14643ddd366 (patch)
treeedb1308c651d55301651cca12eefd3cadd6cc8af /pyproject.toml
parentComment on what nitpick_ignore_regex does in conf.py (diff)
Mark async-rediscache as an optional extra dependency
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml7
1 files changed, 5 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index d4d8ceb8..9626a2a9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,8 +17,11 @@ exclude = ["tests", "tests.*"]
[tool.poetry.dependencies]
python = "3.9.*"
"discord.py" = {url = "https://github.com/Rapptz/discord.py/archive/414759f3723a3fe632ecfc1343a4164a51cd2940.zip"}
-async-rediscache = { version = "0.2.0", extras = ["fakeredis"] }
-statsd = "3.3.0"
+async-rediscache = { version = "0.2.0", extras = ["fakeredis"], optional = true }
+statsd = "3.3.0"
+
+[tool.poetry.extras]
+async-rediscache = ["async-rediscache"]
[tool.poetry.dev-dependencies]
flake8 = "4.0.1"