1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! SMirrors - Automatic Mirror List Updater
//!
//! This library provides core functionality for testing and managing
//! Linux package manager mirrors across multiple distributions.
//!
//! # Features
//!
//! - Automatic mirror testing based on speed and latency
//! - Support for multiple Linux distributions (Debian, Ubuntu, Fedora, Arch, openSUSE)
//! - TUI for interactive mirror management
//! - CLI for automation and scripting
//! - Background service with systemd integration
//! - SQLite database for historical tracking
//!
//! # Example
//!
//! ```no_run
//! use smirrors::{Config, MirrorTester};
//!
//! #[tokio::main]
//! async fn main() -> smirrors::Result<()> {
//! let config = Config::load()?;
//! let tester = MirrorTester::from_config(&config)?;
//!
//! // Test mirrors and update
//! // Implementation...
//! Ok(())
//! }
//! ```
// Re-export commonly used types
pub use Config;
pub use ;
pub use ;
pub use SMirrorsError;
/// Result type alias for SMirrors operations
pub type Result<T> = Result;
/// Application version from Cargo.toml
pub const VERSION: &str = env!;
/// Application name
pub const APP_NAME: &str = "smirrors";