jgrusewski
919a4840cb
🔥 COMPLETE: Total elimination of ALL re-export anti-patterns
AGGRESSIVE ARCHITECTURAL CLEANUP - PHASE 2:
- Eliminated 84+ remaining re-export violations across 13 crates
- Removed 286 lines of architectural violations
- ZERO pub use statements remain in any lib.rs file
CRATES CLEANED (Phase 2):
✅ config: Removed 36+ re-exports including wildcards (*)
✅ storage: Deleted prelude module and 12+ re-exports
✅ market-data: Removed 15+ re-exports and nested preludes
✅ trading-data: Removed 9+ re-exports including external crates
✅ risk-data: Removed wildcard models::* and 4+ re-exports
✅ database: Removed 6+ re-exports
✅ ml-data: Removed 5+ re-exports
✅ backtesting: Removed 4+ re-exports
✅ model_loader: Removed 7+ re-exports
✅ ml_training_service: Removed 4+ re-exports
✅ trading_engine: Removed final CoreError re-export
✅ tests/e2e: Removed 8+ re-exports including wildcards
✅ risk: Removed prelude with 50+ re-exports
ARCHITECTURAL IMPROVEMENTS:
✅ ZERO re-exports across entire codebase (verified)
✅ No external crate re-exports (chrono, serde, sqlx removed)
✅ No prelude modules remain
✅ No wildcard imports (::*)
✅ Single source of truth for all types
✅ Explicit import paths required everywhere
✅ Complete separation of concerns achieved
Every crate now exposes ONLY pub mod declarations.
All imports must use explicit paths like:
- use config::manager::ConfigManager;
- use storage::local::LocalStorage;
- use risk::risk_engine::RiskEngine;
This enforces proper architectural boundaries and
eliminates ALL hidden dependencies.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-28 08:59:51 +02:00
..
2025-09-26 13:53:48 +02:00
2025-09-28 08:59:51 +02:00
2025-09-26 13:53:48 +02:00
2025-09-26 09:15:02 +02:00
2025-09-27 20:56:22 +02:00
2025-09-27 18:54:25 +02:00