Files
foxhunt/storage/Cargo.toml
jgrusewski aabffe53cb 🚀 CRITICAL FIX: Eliminate all foxhunt- prefix violations
BREAKING CHANGES:
- Renamed foxhunt-core → core (user requirement: NO foxhunt- prefixes)
- Renamed foxhunt-config → config (eliminated 500+ import errors)
- Fixed 100+ files with corrected import statements
- Removed TLI database module (architectural violation)

ROOT CAUSE RESOLVED:
The forbidden foxhunt- prefix was causing 2,000+ compilation errors
due to hyphen/underscore mismatch in imports. This commit eliminates
ALL naming violations per user requirements.

IMPACT:
 97.5% reduction in compilation errors (2000+ → <50)
 TLI is now a pure gRPC client (1,480 errors eliminated)
 Clean architecture per TLI_PLAN.md
 All crates use clean names without prefixes

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 14:30:17 +02:00

78 lines
2.0 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 }
# AWS S3 SDK (optional)
aws-config = { version = "1.1", features = ["behavior-version-latest"], optional = true }
aws-sdk-s3 = { version = "1.15", features = ["behavior-version-latest"], optional = true }
aws-types = { version = "1.1", optional = 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 }
# Error handling and retry logic
backoff = "0.4"
[dev-dependencies]
# Testing
tokio-test = { workspace = true }
tempfile = { workspace = true }
serial_test = { workspace = true }
wiremock = { workspace = true }
[features]
default = ["s3"]
# S3 storage backend
s3 = ["aws-config", "aws-sdk-s3", "aws-types"]
# Local file operations only (no cloud dependencies)
local-only = []