d5ef68c9c9
New files: - musicfs-core/src/config.rs: Config, OriginConfig, HealthConfig - musicfs-origins/src/registry.rs: OriginRegistry with watch cleanup - musicfs-origins/src/router.rs: Priority router with (priority, latency) ordering - musicfs-origins/src/health.rs: HealthMonitor with per-origin-type thresholds - musicfs-origins/src/failover.rs: FailoverExecutor with NFR-7.3 backoff Oracle fixes applied: - Per-OriginType threshold: Local=1, Remote=3 (check_one uses threshold_for) - AllOriginsUnhealthy event: Added to events.rs, emitted in select_with_fallback - Unified OriginType: Removed duplicate from traits.rs, use musicfs_core::OriginType - Watch handle cleanup: Tracked and dropped on unregister() - Retry delays: 100ms, 500ms, 2000ms (NFR-7.3 compliant) Tests: 91 pass (+20 new)
16 lines
316 B
TOML
16 lines
316 B
TOML
[package]
|
|
name = "musicfs-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
thiserror.workspace = true
|
|
serde.workspace = true
|
|
toml.workspace = true
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
xxhash-rust.workspace = true
|
|
hex.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|