pinto/lib.rs
1//! pinto — A lightweight CLI/TUI backlog/kanban board for Scrum.
2//!
3//! This crate provides the domain and service layers used by the CLI (`main.rs`) and TUI.
4//! See `docs/DESIGN.md` for detailed design.
5
6// Consumers refer to module paths such as `pinto::backlog::…`; keep the module boundaries explicit
7// rather than flattening the crate root. `config` remains private to the crate, while the storage
8// facade re-exports the `StorageBackend` type needed by selection and migration APIs.
9pub mod automation;
10pub mod backlog;
11pub mod error;
12pub mod i18n;
13pub mod kanban_keys;
14pub mod rank;
15pub mod service;
16pub mod sprint;
17pub mod storage;
18pub mod template;
19pub mod timezone;
20
21mod config;
22
23/// Crate version (synced with `Cargo.toml`).
24pub const VERSION: &str = env!("CARGO_PKG_VERSION");
25
26#[cfg(test)]
27mod tests {
28 use super::*;
29
30 #[test]
31 fn version_is_not_empty() {
32 assert!(!VERSION.is_empty());
33 }
34}