[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", "fast"] abi3 = ["pyo3/abi3-py310"] extension-module = ["pyo3/extension-module"] panic-test = [] fast = ["litellm-token-counter/fast"] huggingface = ["litellm-token-counter/huggingface"] tiktoken = ["litellm-token-counter/tiktoken"] [dependencies] bytes.workspace = true litellm-cache.workspace = true litellm-cache-memory.workspace = true litellm-cache-redis.workspace = true litellm-cache-response.workspace = true serde.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] serde.workspace = true serde_with.workspace = true criterion.workspace = true futures-util.workspace = true rstest.workspace = true tokio-tungstenite.workspace = true [[bench]] name = "serialization" harness = false