//! Headless core of libbui. //! //! Everything here is UI-agnostic and must stay that way: no ratatui, no //! crossterm, no printing. The TUI and the scriptable CLI are both thin layers //! over this crate and [`libby`](https://tangled.sh/@vinnymac.dev/libbui). //! //! - [`paths`] — where files live (XDG on unix, known folders on Windows). //! - [`config`] — `config.toml`. //! - [`identity`] — the stored Libby credential. //! - [`sanitize`] and [`template`] — turning book metadata into safe paths. //! - [`download`] — the download queue and engine. //! - [`library`] — the index of finished downloads. //! - [`covers`] — the cover image cache. //! - [`logging`] — file-only `tracing` setup. pub mod config; pub mod covers; pub mod download; mod fsutil; pub mod identity; pub mod library; pub mod logging; pub mod paths; pub mod personal; pub mod sanitize; pub mod template; pub use fsutil::StateFileError;