Add extra for websockets support

This commit is contained in:
Danielle McLean 2024-07-11 12:17:09 +10:00
parent 04859b8c8b
commit 75206a97f1
Signed by: 00dani
GPG key ID: 6854781A0488421C
2 changed files with 129 additions and 72 deletions

View file

@ -16,6 +16,7 @@ dependencies = [
"boltons>=24.0.0",
"pydantic>=2.7.4",
"rich>=13.7.1",
"ormsgpack>=1.5.0",
]
readme = "README.md"
@ -30,9 +31,16 @@ classifiers = [
]
[project.optional-dependencies]
redis = ["aiocache[redis]", "ormsgpack>=1.5.0"]
memcached = ["aiocache[memcached]", "ormsgpack>=1.5.0"]
all = ["mpd-now-playable[redis,memcached]"]
redis = [
"aiocache[redis]",
]
memcached = [
"aiocache[memcached]",
]
websockets = [
"websockets>=12.0",
]
all = ["mpd-now-playable[redis,memcached,websockets]"]
[project.urls]
Homepage = "https://git.00dani.me/00dani/mpd-now-playable"