Initial commit: Axum web service template

This commit is contained in:
fa-sharp
2026-02-19 15:45:45 -05:00
commit 694b94d579
11 changed files with 1719 additions and 0 deletions

36
Cargo.toml Normal file
View File

@@ -0,0 +1,36 @@
[package]
name = "{{project-name}}"
version = "0.1.0"
edition = "2021"
description = "{{project-description}}"
[dependencies]
{% if include_aide %}aide = { version = "0.16.0-alpha.1", features = [
"axum",
"axum-json",
"axum-query",
] }
{% endif %}anyhow = "1.0.101"
axum = { version = "0.8.8", features = ["json", "query"] }
axum-app-wrapper = { git = "https://gitea.fasharp.io/fa-sharp/axum-app-wrapper", rev = "a8d5e4f962" }
{% if include_aide %}schemars = { version = "1.0", features = [
"chrono04",
"preserve_order",
"url2",
"uuid1"
] }
{% endif %}
dotenvy = "0.15.7"
figment = { version = "0.10.19", features = ["env"] }
serde = "1.0.228"
serde_json = "1.0.145"
tokio = { version = "1.48.0", default-features = false, features = [
"macros",
"net",
"rt",
"rt-multi-thread",
"signal"
] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
type-map = "0.5.1"