pyproject.toml 1.24 KB
Newer Older
1
[build-system]
2
3
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
4
5

[project]
6
name = "sglang-router"
7
version = "0.2.1"
8
description = "High-performance Rust-based load balancer for SGLang with multiple routing algorithms and prefill-decode disaggregation support"
9
10
11
12
13
authors = [
    {name = "Byron Hsu", email = "byronhsu1230@gmail.com"},
    {name = "Chang Su", email = "mckvtl@gmail.com"},
    {name = "Keyang Ru", email = "rukeyang@gmail.com"}
]
14
15
requires-python = ">=3.8"
readme = "README.md"
16
license = { text = "Apache-2.0" }
17
18
classifiers = [
    "Programming Language :: Python :: Implementation :: CPython",
19
20
    "Programming Language :: Rust",
    "Programming Language :: Python :: 3",
21
22
23
24
25
26
27
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
28
29
]

30
31
32
33
34
35
36
37
dependencies = [
    "setproctitle",
    "aiohttp",
    "orjson",
    "uvicorn",
    "fastapi",
]

38
39
40
41
42
[project.optional-dependencies]
dev = [
    "requests>=2.25.0",
]

43

44
45
46
[tool.maturin]
python-source = "py_src"
module-name = "sglang_router.sglang_router_rs"