Module sync

Module sync 

Source
Expand description

Sync module for Garmin data synchronization

Provides:

  • Rate-limited API access with parallel streams
  • Persistent task queue for crash recovery
  • Incremental sync with gap detection
  • GPX parsing for track points
  • Fancy TUI or simple progress output

Re-exports§

pub use progress::SharedProgress;
pub use progress::SyncProgress;
pub use rate_limiter::RateLimiter;
pub use rate_limiter::SharedRateLimiter;
pub use task_queue::TaskQueue;

Modules§

progress
Progress tracking for parallel sync with atomic counters
rate_limiter
Shared rate limiter with semaphore-based concurrency control for parallel sync
task_queue
Task queue for sync operations with crash recovery
ui
Fancy terminal UI using Ratatui for sync progress visualization

Structs§

SyncEngine
Sync engine for orchestrating data synchronization
SyncOptions
Options for sync operation
SyncStats
Statistics from sync operation