litellm/litellm-rust/crates/python-bridge/Cargo.toml
2026-09-20 14:12:58 -07:00

46 lines
1.3 KiB
TOML

[package]
name = "litellm-python-bridge"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
[lib]
name = "_native"
crate-type = ["cdylib"]
[features]
default = ["abi3", "token-counter-huggingface", "token-counter-tiktoken"]
abi3 = ["pyo3/abi3-py310"]
extension-module = ["pyo3/extension-module"]
panic-test = []
token-counter-fast = ["litellm-token-counter/fast"]
token-counter-huggingface = ["litellm-token-counter/huggingface"]
token-counter-tiktoken = ["litellm-token-counter/tiktoken"]
[dependencies]
bytes.workspace = true
litellm-auth.workspace = true
litellm-callbacks-legacy-python.workspace = true
litellm-core.workspace = true
litellm-core-utils.workspace = true
litellm-auth-gcp.workspace = true
litellm-http.workspace = true
litellm-llms.workspace = true
litellm-types.workspace = true
litellm-host-python.workspace = true
litellm-token-counter = { path = "../token-counter", default-features = false }
pyo3.workspace = true
pyo3-async-runtimes.workspace = true
serde_json.workspace = true
tokio = { workspace = true, features = ["sync"] }
[dev-dependencies]
criterion.workspace = true
futures-util.workspace = true
rstest.workspace = true
tokio-tungstenite.workspace = true
[[bench]]
name = "serialization"
harness = false