pyproject: add msgspec and uvloop as optional dependencies

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-06-27 08:14:36 -04:00
parent 51f4d4b888
commit 3026a0c7e7
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,11 @@ repository = "https://github.com/Arksine/moonraker"
documentation = "https://moonraker.readthedocs.io"
changelog = "https://moonraker.readthedocs.io/en/latest/changelog/"
[project.optional-dependencies]
msgspec=["msgspec>=0.18.4 ; python_version>='3.8'"]
uvloop=["uvloop>=0.17.0"]
speedups = ["moonraker[msgspec,uvloop]"]
[tool.pdm.version]
source = "scm"
write_to = "moonraker/__version__.py"