# 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 = "hh"
version = "0.1.0"
authors = ["Hospital Helpers Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A medical information helper that provides drug information and disease self-diagnosis guidance from public sources"
readme = "README.md"
keywords = [
    "medical",
    "health",
    "medicine",
    "diagnosis",
    "hospital",
]
categories = [
    "web-programming",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://git.sr.ht/~hkl/hh"

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

[[bin]]
name = "hh-server"
path = "src/main.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.7"

[dependencies.reqwest]
version = "0.11"
features = ["json"]

[dependencies.scraper]
version = "0.19"

[dependencies.select]
version = "0.6"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tower]
version = "0.4"

[dependencies.tower-http]
version = "0.5"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.mockito]
version = "1.0"
