# 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"
name = "apigate-core"
version = "0.2.4"
authors = ["Oleg Dokuchaev"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime for apigate — routing, proxying, load balancing, and request context"
readme = "README.md"
keywords = [
    "api-gateway",
    "proxy",
    "reverse-proxy",
    "load-balancing",
]
categories = [
    "web-programming::http-server",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/OlegDokuchaev/apigate"
resolver = "2"

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

[dependencies.axum]
version = "0.8"
features = [
    "tokio",
    "http1",
    "http2",
]

[dependencies.http]
version = "1"

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

[dependencies.smallvec]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
