diff options
| author | 2022-03-24 08:15:52 +0000 | |
|---|---|---|
| committer | 2022-03-31 20:53:41 +0100 | |
| commit | 2383754743b9a00d55c35e93efa5b14643ddd366 (patch) | |
| tree | edb1308c651d55301651cca12eefd3cadd6cc8af /pyproject.toml | |
| parent | Comment 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.toml | 7 |
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" |