fx-torrent 0.10.3

FX Torrent is a feature rich Bittorrent protocol implementation written in rust supporting Linux, MacOS and Windows.
Documentation
use fx_handle::Handle;

/// A unique handle identifier of a [crate::FxSession].
pub type SessionHandle = Handle;

/// A unique handle identifier of a [crate::Torrent].
pub type TorrentHandle = Handle;

/// The alias type used to identify piece indexes.
pub type PieceIndex = usize;

/// The alias type used to identify piece part indexes.
pub type BlockIndex = usize;

/// The bitfield vector type used by the library.
pub type BitVec = bitvec::vec::BitVec<u8, bitvec::order::Msb0>;

/// The bitfield slice type used by the library.
pub type BitSlice = bitvec::slice::BitSlice<u8, bitvec::order::Msb0>;