Skip to main content

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 (SQLite)
  • Incremental sync with gap detection
  • GPX parsing for track points
  • Parquet storage for concurrent read access
  • Producer/consumer pipeline for concurrent fetching and writing
  • Plain terminal progress output

Re-exports§

pub use progress::PlanningStep;
pub use progress::SharedProgress;
pub use progress::SyncProgress;
pub use rate_limiter::RateLimiter;
pub use rate_limiter::SharedRateLimiter;
pub use task_queue::SharedTaskQueue;
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

Structs§

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