# 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 = "mdql-web"
version = "0.5.37"
authors = ["Rasmus Groth <rasmus@marquela.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web server and API for MDQL — a queryable database backed by markdown files"
homepage = "https://github.com/mdql-db/mdql"
readme = "README.md"
keywords = [
    "markdown",
    "database",
    "web",
    "api",
    "query",
]
categories = [
    "database",
    "web-programming::http-server",
]
license = "AGPL-3.0-only"
repository = "https://github.com/mdql-db/mdql"

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

[[bin]]
name = "mdql-web"
path = "src/main.rs"

[dependencies.axum]
version = "0.8"

[dependencies.mdql-core]
version = "0.5.0"

[dependencies.mime_guess]
version = "2"

[dependencies.rust-embed]
version = "8"

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

[dependencies.serde_json]
version = "1"

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

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