# 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 = "mq-http"
version = "0.1.4"
authors = ["Takahiro Sato <harehare1110@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP server for mq scripts"
homepage = "https://mqlang.org/"
readme = "README.md"
keywords = [
    "markdown",
    "jq",
    "query",
    "http",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/harehare/mq-http"

[[bin]]
name = "mq-http"
path = "src/main.rs"

[dependencies.axum]
version = "0.8.8"

[dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]

[dependencies.base64]
version = "0.22"

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

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

[dependencies.miette]
version = "7.6.0"
features = ["fancy"]

[dependencies.mq-lang]
version = "0.5.29"
features = [
    "cst",
    "sync",
    "ast-json",
]

[dependencies.mq-markdown]
version = "0.5.29"
features = [
    "html-to-markdown",
    "json",
]

[dependencies.notify]
version = "6"

[dependencies.opentelemetry]
version = "0.31"

[dependencies.opentelemetry-otlp]
version = "0.31"
features = [
    "http-proto",
    "reqwest-client",
]

[dependencies.opentelemetry_sdk]
version = "0.31"
features = ["rt-tokio"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

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

[dependencies.toml]
version = "1.1"

[dependencies.tower-http]
version = "0.6.8"
features = [
    "limit",
    "trace",
    "cors",
    "compression-full",
    "request-id",
    "fs",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-opentelemetry]
version = "0.32"

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

[dependencies.yaml-rust2]
version = "0.11.0"

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

[dev-dependencies.rstest]
version = "0.25"
