setup router python binding ci (#1999)

This commit is contained in:
Byron Hsu
2024-11-11 12:19:32 -08:00
committed by GitHub
parent ddeb9d42de
commit 00ffde206f
13 changed files with 254 additions and 161 deletions

View File

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