# 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.85"
name = "logdive-api"
version = "0.2.1"
authors = ["Arya (ArySmart) Gorjipour"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-only HTTP API server for a logdive index"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Aryagorjipour/logdive"
resolver = "2"

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

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

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

[dependencies.axum]
version = "0.7"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.logdive-core]
version = "0.2.1"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tower]
version = "0.4"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.http-body-util]
version = "0.1"

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