ANW-10 bootstrap anwesen crate and CLI skeleton

This commit is contained in:
Andreas Brenner 2026-05-14 14:24:38 +02:00
parent 0c21e6c5ff
commit 317667cce7
9 changed files with 3099 additions and 0 deletions

37
Cargo.toml Normal file
View file

@ -0,0 +1,37 @@
[package]
name = "anwesen"
description = "Read-only HTTP daemon over a markdown vault, querying YAML frontmatter."
version = "0.0.0"
edition = "2024"
rust-version = "1.95"
license = "MIT OR Apache-2.0"
repository = "ssh://gw.aristov.cc/srv/repos/anwesen.git"
[[bin]]
name = "anwesen"
path = "src/main.rs"
[dependencies]
anyhow = "1"
axum = "0.8"
blake3 = "1"
clap = { version = "4", features = ["derive", "env"] }
hydra = "0.1"
notify = "8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
tantivy = "0.25"
thiserror = "2"
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"