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
//! gwm — git worktree manager (lib root).
//!
//! **Internal test seam — NOT a public API.** This library target exists for
//! one reason: the binary (`src/main.rs`) and the integration tests under
//! `tests/` share a single module tree, and Rust integration tests can only
//! reach it through a `pub` lib. The whole crate is therefore `#![doc(hidden)]`
//! and every `pub` item below carries **no SemVer guarantee** — signatures,
//! modules, and types here are free to change in any release, major or not.
//!
//! Do not `cargo add gwm-cli` to build on `gwm::*`. The published crate ships
//! this lib only as a byproduct of shipping the `gwm` binary; it is not a
//! supported dependency. The contracts that *are* stable — the CLI, the
//! `--format=json` / daemon payloads, and the `.gwm.toml` schema — are
//! documented in `docs/6.development/3.stability.md` and frozen by
//! `tests/contract_tests.rs`.
// `issue_templates` is reached only through `crate::issue_templates` from
// `cli.rs`; no integration test imports it, so it need not be `pub` (#342).
pub