Removed 3 duplicate ModelType enums (model_loader, hyperopt campaign, job_spawner). Canonical definition in ml/src/lib.rs with 15 variants. model_loader and job_spawner now re-export from ml. Added as_str(), s3_prefix(), Display, to_db_string(), and weight() to canonical enum. Replaced conflicting ToString impl with Display. Fixed variant name mismatches (Dqn->DQN, Mamba2->MAMBA, Liquid->LNN, TlobTransformer->TLOB). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
922 B
TOML
43 lines
922 B
TOML
[package]
|
|
name = "model_loader"
|
|
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
|
|
description = "ML model loading and caching infrastructure for Foxhunt HFT system"
|
|
|
|
[dependencies]
|
|
# Internal workspace crates
|
|
storage = { path = "../storage" }
|
|
ml = { workspace = true } # Canonical ModelType re-exported from here
|
|
|
|
# Core workspace dependencies
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
async-trait.workspace = true
|
|
|
|
# Model versioning
|
|
semver.workspace = true
|
|
|
|
# Caching
|
|
lru = "0.12"
|
|
|
|
# Serialization
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
# Synchronization
|
|
parking_lot.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
chrono.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|