-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
57 lines (53 loc) · 1.87 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "magicapi-ai-gateway"
version = "0.2.0"
edition = "2021"
description = "A high-performance AI Gateway proxy for routing requests to various AI providers, offering seamless integration and management of multiple AI services"
authors = ["MagicAPI Team <team@magicapi.com>"]
license = "MIT OR Apache-2.0"
homepage = "https://magicapi.com"
repository = "https://github.com/magicapi/ai-gateway"
documentation = "https://docs.magicapi.com"
readme = "README.md"
keywords = ["ai", "gateway", "proxy", "openai", "llm"]
categories = ["web-programming", "api-bindings", "asynchronous"]
exclude = [
".env",
".cursorrules",
".github/**/*",
".cargo_vcs_info.json",
"Cargo.toml.orig"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
debug = false
[dependencies]
axum = { version = "0.7", features = ["http2", "tokio"] }
tokio = { version = "1.0", features = ["full", "parking_lot", "rt-multi-thread"] }
tower-http = { version = "0.6.2", features = ["cors", "compression-full"] }
tracing = { version = "0.1", features = ["attributes"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
reqwest = { version = "0.12.9", features = ["stream", "json", "rustls-tls", "http2", "gzip", "brotli"], default-features = false }
http = "1.0"
bytes = { version = "1.5.0", features = ["serde"] }
dotenv = "0.15"
futures-util = { version = "0.3", features = ["io"] }
once_cell = "1.18"
async-trait = "0.1"
thiserror = "2.0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
num_cpus = "1.15"
aws-sigv4 = "1.2.5"
aws-credential-types = "1.2.1"
chrono = { version = "0.4", features = ["serde"] }
aws_event_stream_parser = "0.1.2"
parking_lot = "0.12"
[dev-dependencies]
magicapi-ai-gateway = { path = "." }
hex = "0.4"