# 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 = "dragoman"
version = "0.3.6"
authors = ["Front Matter <info@front-matter.de>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DOI redirection and content negotiation server"
readme = "README.md"
license = "MIT"
repository = "https://codeberg.org/front-matter/dragoman"

[[bin]]
name = "dragoman"
path = "src/main.rs"

[dependencies.axum]
version = "0.8"

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

[dependencies.commonmeta]
version = "0.8.25"

[dependencies.rusqlite]
version = "0.40"
features = ["bundled-full"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

[dependencies.zstd]
version = "0.13"

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]
