litellm/packaging/litellm-proxy/pyproject.toml
Mateo Wang f8a60328b4
ci(image-scan): build Rust with a fast ci cargo profile instead of fat-LTO release (#51075)
* ci: speed up image scans with an opt-in Rust profile

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix: separate cached Rust wheels by maturin profile

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-10 21:05:29 -08:00

31 lines
824 B
TOML

[project]
name = "litellm-proxy"
version = "1.109.0"
description = "Opt-in Rust HTTP forwarding server for the LiteLLM Python proxy"
requires-python = ">=3.10, <3.16"
license = "MIT"
[build-system]
requires = ["maturin==1.15.0"]
build-backend = "maturin"
[tool.maturin]
manifest-path = "../../litellm-rust/crates/gateway/Cargo.toml"
bindings = "bin"
targets = [{ name = "litellm-gateway", kind = "bin" }]
profile = "release"
editable-profile = "dev"
include = [
{ path = "rust-toolchain.toml", format = "sdist" },
{ path = ".cargo/config.toml", format = "sdist" },
{ path = "model_prices_and_context_window.json", format = "sdist" },
]
[tool.uv]
cache-keys = [
{ file = "pyproject.toml" },
{ file = "setup.py" },
{ file = "setup.cfg" },
{ dir = "src" },
{ env = "MATURIN_PEP517_ARGS" },
]