Crate robosync

Source
Expand description

RoboSync: High-performance file synchronization with intelligent strategy selection

RoboSync combines the best of RoboCopy and rsync with modern performance:

  • RoboCopy-style command-line interface and options
  • Rsync’s efficient delta-transfer algorithm
  • Intelligent concurrent mixed processing for optimal performance
  • Modern multithreaded architecture with Rust
  • Advanced features: compression, retry logic, filtering
  • Cross-platform support (Windows, macOS, Linux, BSD)
  • High performance with parallel I/O and BLAKE3 hashing

Re-exports§

pub use algorithm::DeltaAlgorithm;
pub use checksum::ChecksumType;
pub use error::Result;
pub use error::RoboSyncError;
pub use options::SyncOptions;
pub use parallel_sync::ParallelSyncConfig;
pub use parallel_sync::ParallelSyncer;
pub use retry::with_retry;
pub use retry::RetryConfig;
pub use sync::synchronize;
pub use sync_stats::SyncStats;

Modules§

algorithm
Core delta-transfer algorithm implementation
checksum
Checksum and hashing utilities
color_output
Color output helpers that respect terminal capabilities
compression
Compression support for delta transfer optimization
error
Comprehensive error handling for RoboSync
error_logger
Unified error logging system that respects verbosity levels
error_report
Error reporting module for saving detailed error logs
fast_file_list
Fast file enumeration optimized for large directories
file_list
File list generation and management
formatted_display
Formatted display output for RoboSync
linux_fast_copy
Linux-specific optimizations for copying thousands of small files
linux_parallel_sync
Linux-optimized parallel sync for small files
logging
Logging and progress reporting functionality
metadata
File metadata handling for copy operations
metadata_utils
Utility functions for metadata operations
mixed_strategy
Mixed-mode strategy that uses different copy methods for different file types
native_tools
Native tool wrappers for rsync and robocopy
operation_utils
Utility functions for common file operation patterns
options
Synchronization options and configuration
parallel_sync
Multithreaded synchronization implementation
platform_api
Platform-specific file copy APIs for optimal performance
progress
Progress reporting and statistics
retry
Retry logic for handling transient failures
strategy
Intelligent copy strategy selection and execution
streaming_delta
Streaming delta transfer algorithm that doesn’t load entire files into memory
sync
Main synchronization logic
sync_stats
Synchronization statistics tracking