# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "magicapi-ai-gateway" version = "0.2.0" authors = ["MagicAPI Team "] build = false exclude = [ ".env", ".cursorrules", ".github/**/*", ".cargo_vcs_info.json", "Cargo.toml.orig", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A high-performance AI Gateway proxy for routing requests to various AI providers, offering seamless integration and management of multiple AI services" homepage = "https://magicapi.com" documentation = "https://docs.magicapi.com" readme = "README.md" keywords = [ "ai", "gateway", "proxy", "openai", "llm", ] categories = [ "web-programming", "api-bindings", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/magicapi/ai-gateway" [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 panic = "abort" strip = true [[bin]] name = "magicapi-ai-gateway" path = "src/main.rs" [dependencies.async-trait] version = "0.1" [dependencies.aws-credential-types] version = "1.2.1" [dependencies.aws-sigv4] version = "1.2.5" [dependencies.aws_event_stream_parser] version = "0.1.2" [dependencies.axum] version = "0.7" features = [ "http2", "tokio", ] [dependencies.bytes] version = "1.5.0" features = ["serde"] [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.dotenv] version = "0.15" [dependencies.futures-util] version = "0.3" features = ["io"] [dependencies.http] version = "1.0" [dependencies.num_cpus] version = "1.15" [dependencies.once_cell] version = "1.18" [dependencies.parking_lot] version = "0.12" [dependencies.reqwest] version = "0.12.9" features = [ "stream", "json", "rustls-tls", "http2", "gzip", "brotli", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.0" features = [ "full", "parking_lot", "rt-multi-thread", ] [dependencies.tower-http] version = "0.6.2" features = [ "cors", "compression-full", ] [dependencies.tracing] version = "0.1" features = ["attributes"] [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "json", ] [dev-dependencies.hex] version = "0.4"