Skip to content

Commit 174010e

Browse files
committed
docs: update architecture.md for crab-common utils/ restructure
1 parent b00ad08 commit 174010e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

β€Ždocs/architecture.mdβ€Ž

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,15 @@ crab-code/
207207
β”‚ β”œβ”€β”€ common/ # crab-common: shared foundation
208208
β”‚ β”‚ β”œβ”€β”€ Cargo.toml
209209
β”‚ β”‚ └── src/
210-
β”‚ β”‚ β”œβ”€β”€ lib.rs
210+
β”‚ β”‚ β”œβ”€β”€ lib.rs # exports error, result, utils
211211
β”‚ β”‚ β”œβ”€β”€ error.rs # thiserror unified error enum
212212
β”‚ β”‚ β”œβ”€β”€ result.rs # type Result<T>
213-
β”‚ β”‚ β”œβ”€β”€ text.rs # Unicode width, ANSI strip
214-
β”‚ β”‚ β”œβ”€β”€ path.rs # cross-platform path normalization
215-
β”‚ β”‚ └── id.rs # ULID generation
213+
β”‚ β”‚ └── utils/ # utility functions (no business semantics)
214+
β”‚ β”‚ β”œβ”€β”€ mod.rs
215+
β”‚ β”‚ β”œβ”€β”€ id.rs # ULID generation
216+
β”‚ β”‚ β”œβ”€β”€ path.rs # cross-platform path normalization
217+
β”‚ β”‚ β”œβ”€β”€ text.rs # Unicode width, ANSI strip
218+
β”‚ β”‚ └── debug.rs # debug categories, tracing init
216219
β”‚ β”‚
217220
β”‚ β”œβ”€β”€ core/ # crab-core: domain model
218221
β”‚ β”‚ β”œβ”€β”€ Cargo.toml

0 commit comments

Comments
Β (0)