# 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 = "mimir-mem-proxy"
version = "0.11.0"
authors = ["Thomas H"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optional local API proxy for Mimir: prompt-cache optimization + token-savings measurement"
readme = false
keywords = [
    "mimir",
    "proxy",
    "anthropic",
    "tokens",
    "cache",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MakerViking/mimir"

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

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

[dependencies.mimir-core]
version = "0.11.0"
package = "mimir-mem-core"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "http2",
    "rustls",
    "webpki-roots",
]
default-features = false

[dependencies.rusqlite]
version = "0.40"
features = [
    "bundled",
    "functions",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
]

[dependencies.tracing]
version = "0.1"
