Files
foxhunt/storage/Cargo.toml
jgrusewski 9ffdb03e89 🚀 Wave 134: Zero Compilation Errors - 65 Agents, 194 Fixes, 530+ Tests
## Summary
- **Total Agents**: 65 (24 coverage + 41 error fixes)
- **Compilation Errors**: 194 → 0 
- **New Tests**: 530+ tests (~17,500 lines)
- **Success Rate**: 100%

## Phase 1: Test Coverage Expansion (Waves 1-3)
- Wave 1-3: 24 agents deployed
- Created comprehensive test suites across all modules
- Added 530+ tests for baseline, advanced, and integration coverage

## Phase 2: Error Elimination (Waves 4-14)
- Wave 4 (12 agents): Fixed 162 errors (Enum Display, tower util, borrow checker)
- Wave 7 (1 agent): Fixed 52 ML proto errors (DataSource, Hyperparameters)
- Wave 8 (1 agent): Fixed 33 Trading proto errors (SubmitOrderRequest)
- Wave 12 (4 agents): Fixed 13 ComplianceRequirements field errors
- Wave 13 (3 agents): Fixed 16 data crate test errors
- Wave 14 (2 agents): Fixed final 2 data lib errors

## Infrastructure Improvements
- Added MinIO Docker service for S3 E2E testing
- Created S3Config::for_minio_testing() helper
- Added storage test_helpers module
- Fixed proto field mappings across all services
- Added tower "util" feature for ServiceExt

## Key Error Patterns Fixed
- Proto field name changes (120+ instances)
- Enum Display trait usage (31 instances)
- Borrow checker errors (20+ instances)
- Missing methods/features (40+ instances)
- Struct field additions (Order, ComplianceRequirements)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 17:06:02 +02:00

82 lines
2.1 KiB
TOML

[package]
name = "storage"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
publish.workspace = true
keywords.workspace = true
categories.workspace = true
description = "Storage layer for Foxhunt HFT Trading System - S3, local file operations, and data archival"
[dependencies]
# Core async and utilities
tokio = { workspace = true, features = ["rt-multi-thread", "fs", "sync", "time"] }
tokio-util = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
uuid = { workspace = true }
# Serialization and time
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
chrono = { workspace = true, features = ["serde"] }
bincode = { workspace = true }
# Compression and hashing
flate2 = "1.0"
sha2 = "0.10"
# Logging
tracing = { workspace = true }
# Collections and utilities
rustc-hash = { workspace = true }
indexmap = { workspace = true }
# Apache Arrow object_store for S3 operations (superior to AWS SDK)
object_store = { workspace = true, optional = true }
bytes = { workspace = true }
# Vault integration removed - use config crate instead
# File system operations
fs2 = { workspace = true }
tempfile = { workspace = true }
# Data structures and caching
dashmap = { workspace = true }
lru = "0.12"
parking_lot = "0.12"
# Configuration management
config = { workspace = true }
# Common types and utilities
common = { workspace = true }
# Error handling and retry logic
backon = "1.5" # Replaced unmaintained backoff crate
[dev-dependencies]
# Testing
tokio-test = { workspace = true }
tempfile = { workspace = true }
serial_test = { workspace = true }
# wiremock = { workspace = true } # REMOVED - too heavy
[features]
default = ["s3"]
# S3 storage backend
s3 = ["object_store"]
# Local file operations only (no cloud dependencies)
local-only = []
# Test utilities (exposed for integration tests)
test-utils = ["s3"]