1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
pub use cartog_core as types;
pub use cartog_db as db;
pub use cartog_indexer as indexer;
pub use cartog_languages as languages;
pub use cartog_rag as rag;
pub use cartog_watch as watch;
pub use cartog_lsp as lsp;
/// PID-file locks used by long-lived commands (`serve`, `watch`) and
/// consulted by `cartog self update` to detect concurrent peers.
///
/// Hidden from rustdoc: this is internal CLI plumbing re-exported only
/// so integration tests can reach it without each consumer crate
/// importing `cartog-process-lock` directly. Not a stable public API.
pub use cartog_process_lock as process_lock;
/// The user-global cartog registry: state-directory resolution, PID-lock slot
/// derivation, and the machine-local project registry.
///
/// Hidden from rustdoc: internal CLI plumbing re-exported only so integration
/// tests can reach it without importing `cartog-registry` directly. Not a
/// stable public API.
pub use cartog_registry as registry;
/// Predicate gating the daily background update check.
///
/// Hidden from rustdoc: internal CLI plumbing exposed via the lib facade
/// only so integration tests can reach it. Not a stable public API.
/// Persistent CLI state (last update check, last known latest version).
///
/// Hidden from rustdoc: internal CLI plumbing exposed via the lib facade
/// only so the auto-check thread (`auto_check::spawn_check`) and
/// integration tests can reach it. Not a stable public API.
/// Bridging `cartog-db` values into project-registry rows.
///
/// Hidden from rustdoc: internal CLI plumbing. Not a stable public API.
/// RFC3339 ↔ Unix-seconds helpers used by `state.toml` writers and
/// `auto_check`. Internal — exposed via the lib facade only so the bin
/// target's `commands::self_cmd` can reach it without a duplicate copy.
/// Stable-release tag parsing and version comparison. Internal — exposed via
/// the lib facade only so `auto_check` and the bin target's `self_cmd` /
/// `doctor` share one copy instead of three.