-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
26 lines (24 loc) · 752 Bytes
/
Cargo.toml
File metadata and controls
26 lines (24 loc) · 752 Bytes
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
[package]
name = "perplexity_api"
version = "1.0.0"
edition = "2021"
description = "OpenAI-compatible API server powered by Perplexity AI via curl-impersonate"
[dependencies]
axum = { version = "0.7", features = ["macros"] }
tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.12", features = ["multipart", "stream"] }
futures = "0.3"
async-stream = "0.3"
uuid = { version = "1.0", features = ["v4"] }
base64 = "0.22"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1.0"
dotenvy = "0.15"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1