# 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 = "tldr-daemon"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Background daemon for TLDR code analysis tool"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/parcadei/tldr-code"

[package.metadata.dist]
dist = false

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

[[bin]]
name = "tldr-daemon"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.7"

[dependencies.clap]
version = "4.0"
features = ["derive"]

[dependencies.dunce]
version = "1.0"

[dependencies.hyper]
version = "1.0"
features = [
    "server",
    "http1",
]

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

[dependencies.lru]
version = "0.12"

[dependencies.md5]
version = "0.7"

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.thiserror]
version = "1.0"

[dependencies.tldr-core]
version = "0.1.4"

[dependencies.tokio]
version = "1.0"
features = [
    "full",
    "sync",
]

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

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

[dev-dependencies.tokio-test]
version = "0.4"
