aiclient-api 0.1.0

A unified AI gateway daemon exposing OpenAI-compatible and Anthropic-compatible API endpoints, backed by GitHub Copilot and Kiro (AWS CodeWhisperer)
Documentation
# 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 = "aiclient-api"
version = "0.1.0"
authors = ["Hotea <hotea@example.com>"]
build = false
exclude = [
    "docs/",
    ".github/",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A unified AI gateway daemon exposing OpenAI-compatible and Anthropic-compatible API endpoints, backed by GitHub Copilot and Kiro (AWS CodeWhisperer)"
homepage = "https://github.com/hotea/aiclient-api"
readme = "README.md"
keywords = [
    "ai",
    "openai",
    "anthropic",
    "copilot",
    "gateway",
]
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/hotea/aiclient-api"

[lib]
name = "aiclient_api"
path = "src/lib.rs"

[[bin]]
name = "aiclient-api"
path = "src/main.rs"

[[test]]
name = "auth_test"
path = "tests/auth_test.rs"

[[test]]
name = "config_test"
path = "tests/config_test.rs"

[[test]]
name = "convert_test"
path = "tests/convert_test.rs"

[[test]]
name = "error_test"
path = "tests/error_test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "routes_test"
path = "tests/routes_test.rs"

[[test]]
name = "stream_test"
path = "tests/stream_test.rs"

[[test]]
name = "util_test"
path = "tests/util_test.rs"

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.daemonize]
version = "0.5"

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.hostname]
version = "0.4"

[dependencies.hyper]
version = "1"
features = ["server"]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.libc]
version = "0.2"

[dependencies.mac_address]
version = "1"

[dependencies.open]
version = "5"

[dependencies.percent-encoding]
version = "2"

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]

[dependencies.self_update]
version = "0.41"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "catch-panic",
    "request-id",
    "trace",
    "util",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.axum-test]
version = "19"

[dev-dependencies.tempfile]
version = "3"