mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Add litellm-rust crate manifest (cdylib + rlib + standalone server bin)
This commit is contained in:
parent
17b88719a2
commit
68301db156
1 changed files with 27 additions and 0 deletions
27
litellm-rust/Cargo.toml
Normal file
27
litellm-rust/Cargo.toml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[package]
|
||||
name = "litellm-rust"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Rust port of LiteLLM's Mistral OCR transforms, exposed as a Python extension and a standalone HTTP server."
|
||||
license = "MIT"
|
||||
|
||||
[lib]
|
||||
name = "litellm_rust"
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[[bin]]
|
||||
name = "litellm-rust-server"
|
||||
path = "src/bin/server.rs"
|
||||
required-features = []
|
||||
|
||||
[features]
|
||||
default = []
|
||||
python = ["dep:pyo3"]
|
||||
|
||||
[dependencies]
|
||||
pyo3 = { version = "0.23", features = ["extension-module"], optional = true }
|
||||
reqwest = { version = "0.12", features = ["blocking", "json"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
|
||||
axum = "0.7"
|
||||
Loading…
Add table
Reference in a new issue