Commit 1168ec7
committed
Productionize codebase: cleanup, quality, and dependency audit
- Remove all #[allow(dead_code)] attrs; delete genuinely dead code
- Restructure main.rs to import from library crate instead of re-declaring modules
- Remove ~40 redundant/obvious comments; trim verbose doc comments
- Add #[must_use] to 25+ accessor/query methods
- Replace once_cell::Lazy with std::sync::LazyLock (stable since 1.80)
- Remove 5 unused dependencies (once_cell, futures, futures-util, pin-project-lite, arc-swap)
- Fix atomic ordering: ReadinessState SeqCst → Release/Acquire
- Inline format args, simplify redundant closures
- Downgrade noisy per-request info! logs to debug!
- Remove Cargo.lock from .gitignore (should be committed for binary crates)
- Delete .DS_Store files and README.draft.md1 parent c7d4023 commit 1168ec7
20 files changed
Lines changed: 2767 additions & 295 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
0 commit comments