Files
foxhunt/testing/service-integration/Cargo.toml
jgrusewski db6462ba7a fix(clippy): resolve all clippy warnings across entire workspace (--all-targets)
Systematic fix of 360+ clippy errors across 37+ crates covering lib,
test, bench, and example targets. Key changes:

- Add targeted #[allow(...)] on #[cfg(test)] modules for test-only lints
  (assertions_on_result_states, float_cmp, str_to_string, indexing, etc.)
- Feature-gate broken integration tests behind __<crate>_integration flags
  where public APIs changed (trading-service, backtesting-service, etc.)
- Remove dead [[test]] entries from Cargo.toml files pointing to deleted files
- Fix production code: field_reassign_with_default, manual_range_contains,
  assert!(false) → panic!(), format!("{}") simplification, len() > 0 → !is_empty()
- Delete truly unused code (Order struct, unused methods/fields/variants)
- Convert sqlx::query!() to sqlx::query() for SQLX_OFFLINE compatibility

Result: cargo clippy --workspace --all-targets -- -D warnings = 0 errors, 0 warnings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 10:18:35 +01:00

66 lines
1.4 KiB
TOML

[package]
name = "integration_tests"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
[dependencies]
# Async runtime
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time"] }
futures.workspace = true
# gRPC client
tonic = { workspace = true }
tonic-prost.workspace = true
prost = { workspace = true }
# HTTP client for metrics scraping
reqwest = { workspace = true, features = ["json"] }
# Serialization
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
# JWT for authentication
jsonwebtoken.workspace = true
# Error handling
anyhow.workspace = true
thiserror.workspace = true
# Logging
tracing.workspace = true
# UUID
uuid = { workspace = true, features = ["v4"] }
# Time handling
chrono = { workspace = true }
# Environment variables
dotenvy = "0.15"
# Constructor hooks for test initialization
ctor = "0.2"
# DBN data for real market data
dbn = "0.22"
rust_decimal = { workspace = true }
# Backtesting service for DBN data source
backtesting-service = { path = "../../services/backtesting_service" }
[features]
__integration_tests = []
[dev-dependencies]
# Test utilities
serial_test.workspace = true
[build-dependencies]
tonic-prost-build.workspace = true
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(feature, values("__integration_tests"))'] }