forked from jeremychone/rust-genai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (35 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "genai"
version = "0.1.21"
edition = "2021"
rust-version = "1.79"
license = "MIT OR Apache-2.0"
description = "Multi-AI Providers Library for Rust. (DeepSeek, Anthropic, OpenAI, Gemini, xAI, Ollama, Groq, ...)"
keywords = ["generative-ai","openai","chatgpt","gemini","ollama"]
homepage = "https://github.com/jeremychone/rust-genai"
repository = "https://github.com/jeremychone/rust-genai"
[lints.rust]
unsafe_code = "forbid"
# unused = { level = "allow", priority = -1 } # For exploratory dev.
# missing_docs = "warn"
[dependencies]
# -- Async
tokio = { version = "1", features = ["full"] }
futures = "0.3"
tokio-stream = "0.1"
# -- Json
serde = { version = "1", features = ["derive", "rc"] } # Opted to rc for Arc<T> serialization
serde_json = "1"
serde_with = "3.12.0"
# -- Web
reqwest = {version = "0.12", features = ["json"]}
reqwest-eventsource = "0.6"
eventsource-stream = "0.2"
bytes = "1.6"
# -- Others
derive_more = { version = "2", features = ["from", "display"] }
value-ext = "0.1.1"
[dev-dependencies]
serial_test = "3.2.0"
base64 = "0.22.0" # Check for the latest version
bitflags = "2.8.0"