| [package] | |
| name = "sgl-model-gateway-python" | |
| version = "0.3.2" | |
| edition = "2021" | |
| [lib] | |
| name = "sglang_router_rs" | |
| crate-type = ["cdylib"] | |
| [dependencies] | |
| pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py38"] } | |
| tokio = { version = "1.42.0", features = ["full"] } | |
| once_cell = "1.19" | |
| [dependencies.sgl-model-gateway] | |
| path = "../.." | |
| default-features = true | |
| [features] | |
| default = ["pyo3/extension-module"] | |
| vendored-openssl = ["sgl-model-gateway/vendored-openssl"] | |
| [profile.ci] | |
| inherits = "release" | |
| opt-level = 2 # Lighter optimization (still fast runtime, much faster compile) | |
| lto = "thin" # Thin LTO - good balance | |
| codegen-units = 16 # More parallelization for faster builds | |
| strip = true | |