Skip to content

Commit 1168ec7

Browse files
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.md
1 parent c7d4023 commit 1168ec7

20 files changed

Lines changed: 2767 additions & 295 deletions

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/target/
2-
Cargo.lock
32

43
# Editor and IDE
54
*.swp

0 commit comments

Comments
 (0)