[package]
name = "{{TOOL_NAME}}-api"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "REST API server for {{TOOL_NAME}}"

[[bin]]
name = "{{tool_name_kebab}}-api"
path = "src/main.rs"

[dependencies]
{{TOOL_NAME}}-core = { path = "../core" }
axum = "0.7"
tokio = { workspace = true, features = ["full"] }
serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

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

[lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"

[lints.clippy]
all = "warn"
pedantic = "warn"
