torrent 0.1.1

High-level async BitTorrent library — session management, HTTP/UDP tracker communication, DHT networking, peer connections, and file storage. Built on torrent-core with tokio.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Async file-based storage.
//!
//! Re-exports the [`Storage`] trait from `torrent_core::storage`,
//! piece management and selection types from `torrent_core::piece`,
//! and provides [`FileStorage`] which implements the trait using
//! tokio's async file I/O.
//!
//! # Key Types
//!
//! - [`Storage`] — re-exported from `torrent_core::storage`
//! - [`FileStorage`] — async file-based storage backend

mod file_backend;

pub use torrent_core::storage::Storage;

pub use self::file_backend::FileStorage;