duvis 0.1.8

Disk usage visualizer for both AI and humans
Documentation
//! Browser UI server. Spins up an axum HTTP server that serves the
//! single-page bundle and a small JSON API (`/data.json`, `/rescan`,
//! `/reveal`).
//!
//! Submodule layout:
//! - [`assets`] — the bundled HTML shell (`HTML_TEMPLATE`).
//! - [`state`] — shared `AppState` / `ScanState`, the background scan
//!   spawner, and the `STALE_DAYS` constant the UI shows.
//! - [`server`] — `serve` entry point, router wiring, `/`, `/data.json`,
//!   `/rescan` handlers, and the HTTP-level test suite.
//! - [`reveal`] — `/reveal` handler + the `reveal_in_filer` cfg
//!   family (macOS / Windows / fallback).

pub(crate) mod assets;
pub(crate) mod reveal;
pub(crate) mod server;
pub(crate) mod state;

pub(crate) use server::serve;