[router] Impl radix tree and set up CI (#1893)

Co-authored-by: Lianmin Zheng <lianminzheng@gmail.com>
This commit is contained in:
Byron Hsu
2024-11-04 10:56:52 -08:00
committed by GitHub
parent 3cd2809277
commit 530ff541cf
11 changed files with 458 additions and 72 deletions

View File

@@ -1,15 +1,17 @@
[package]
name = "sglang-router"
name = "sglang_router"
version = "0.0.0"
edition = "2021"
[[bin]]
name = "router"
name = "sglang_router"
path = "src/main.rs"
[lib]
name = "router"
crate-type = ["cdylib"]
name = "sglang_router"
# Pure Rust library: Just omit crate-type (defaults to rlib)
# Python/C binding + Rust library: Use ["cdylib", "rlib"]
crate-type = ["cdylib", "rlib"]
[dependencies]
actix-web = "4.0"