[package]
name = "hh"
version = "0.1.0"
edition = "2021"
authors = ["Hospital Helpers Contributors"]
description = "A medical information helper that provides drug information and disease self-diagnosis guidance from public sources"
license = "MIT OR Apache-2.0"
repository = "https://git.sr.ht/~hkl/hh"
keywords = ["medical", "health", "medicine", "diagnosis", "hospital"]
categories = ["web-programming", "api-bindings"]
readme = "README.md"

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

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

[dependencies]
# Web framework
axum = "0.7"
tokio = { version = "1", features = ["full"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace"] }

# HTTP client for fetching data
reqwest = { version = "0.11", features = ["json"] }

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# HTML parsing
scraper = "0.19"
select = "0.6"

# Error handling
anyhow = "1.0"
thiserror = "1.0"

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Async runtime
async-trait = "0.1"

[dev-dependencies]
mockito = "1.0"
