[build-system]
requires = ["maturin>=1.9,<2"]
build-backend = "maturin"

[project]
name = "skirr"
version = "0.1.1"
description = "Experimental Linux HTTP/1 ASGI-only server"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
classifiers = [
    "Development Status :: 3 - Alpha",
    "Operating System :: POSIX :: Linux",
    "Programming Language :: Python :: 3",
    "Programming Language :: Rust",
]

[project.urls]
Repository = "https://gitman.io/patx/skirr"

[project.optional-dependencies]
speed = ["uvloop>=0.22"]
test = ["pytest>=8", "pytest-asyncio>=0.24", "fastapi"]
bench = ["psutil", "fastapi", "uvloop", "weft-server", "peregrine-server"]

[project.scripts]
skirr = "skirr:main"

[tool.maturin]
python-source = "python"
module-name = "skirr._native"
features = ["extension-module"]

[tool.pytest.ini_options]
asyncio_mode = "auto"