Commit b4c03f1
committed
refactor: extract product identity literals into homeboy-product-identity crate
Moves the ProductIdentity struct and PRODUCT_IDENTITY constant (homeboy's
product name, binary name, config/env/artifact/run-dir prefixes) into a new
zero-dependency path-only crate. It's a pristine leaf (std only, 36 LOC) used
by 9 modules including run_dir, whose 26 references to product_identity blocked
its own extraction in the previous engine-primitives cut.
Extracting product_identity now unblocks a future run_dir/temp/paths
extraction without dragging those literals along prematurely. The 30
PRODUCT_IDENTITY call sites are unchanged — core/mod.rs re-exports the crate as
product_identity.
Not published to crates.io; still ships as the single homeboy binary.
cargo check --lib passes.1 parent e625752 commit b4c03f1
5 files changed
Lines changed: 23 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
0 commit comments