# 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 = "2024"
rust-version = "1.86"
name = "rotom"
version = "1.1.2"
build = "build.rs"
include = [
    "build.rs",
    "src/**/*",
    "README.md",
    "LICENSE",
    "Cargo.toml",
    "Cargo.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "rotom"
description = "OpenAI- and Anthropic-compatible local API gateway backed by OAuth providers."
homepage = "https://github.com/RyanKung/rotom"
documentation = "https://docs.rs/rotom"
readme = "README.md"
keywords = [
    "openai",
    "anthropic",
    "codex",
    "claude-code",
    "gateway",
]
categories = [
    "command-line-utilities",
    "api-bindings",
    "web-programming::http-server",
]
license = "LGPL-3.0-only"
repository = "https://github.com/RyanKung/rotom"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[bin]]
name = "rotom"
path = "src/main.rs"

[dependencies.async-stream]
version = "0.3"

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

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

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "error-context",
    "help",
    "std",
    "suggestions",
    "usage",
]
default-features = false

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

[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 = [
    "fs",
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]

[dependencies.url]
version = "2"

[dev-dependencies.tower]
version = "0.5"
