//! Complete implementation of BitTorrent client functionality including
//! torrent file handling, peer management, piece selection, data transfer,
//! and integration with a Kademlia-based Distributed Hash Table (DHT).
//!
//! Example usage:
//! - CLI application: [`mtorrent-cli`](https://github.com/DanglingPointer/mtorrent/blob/main/mtorrent-cli/)
//! - GUI application: [`mtorrent-gui`](https://github.com/DanglingPointer/mtorrent-gui/) and [`mtorrent-egui`](https://github.com/DanglingPointer/mtorrent-egui/)
/// Application modules.
/// These modules contain entry points and high-level logic for the BitTorrent client.
/// Utility functions and types.
pub